An attachment to a Popup, which contains the attachment data and some additional metadata about the attachment. More...
Import Statement: | import Esri.ArcGISRuntime 100.15 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- attachment : Attachment
- attachmentUrl : url
- contentType : string
- editState : Enums.PopupAttachmentEditState
- fullImageStatus : Enums.TaskStatus
- fullImageUrl : url
- loadError : Error
- loadStatus : Enums.LoadStatus
- local : bool
- name : string
- popupType : Enums.PopupAttachmentType
- size : string
- sizeAsInt : int
- thumbnailStatus : Enums.TaskStatus
- thumbnailUrl : url
Signals
- attachmentChanged()
- attachmentUrlChanged()
- contentTypeChanged()
- editStateChanged()
- fullImageStatusChanged()
- fullImageUrlChanged()
- loadErrorChanged()
- loadStatusChanged()
- localChanged()
- nameChanged()
- popupTypeChanged()
- sizeAsIntChanged()
- sizeChanged()
- thumbnailStatusChanged()
- thumbnailUrlChanged()
Methods
- void cancelLoad()
- void fullImage()
- void load()
- void retryLoad()
- void thumbnail(int width, int height, Enums.AspectRatioMode aspectRatioMode)
Detailed Description
Obtain PopupAttachments from the PopupAttachmentManager.
See also Loadable.
Property Documentation
attachment : Attachment |
Returns the underlying attachment (read-only).
Returns the PopupAttachment URL (read-only).
Returns the content type of the PopupAttachment (read-only).
Returns the edit state of the PopupAttachment (read-only).
See also Enums.PopupAttachmentEditState.
Returns the status of the asynchronous fullImage() operation (read-only).
See also Enums.TaskStatus.
Returns the URL to the full image (read-only).
Note: This property can be obtained after the fullImage() operation is executed, and the fullImageStatus is Enums.TaskStatusCompleted
.
loadError : Error |
Returns the load error (read-only).
Note: load errors are also reported on the error
property and emit the errorChanged
signal.
See also Loadable.
The Enums.LoadStatus of the Layer.
See also Loadable and Enums.LoadStatus.
Returns whether the PopupAttachment is local (read-only).
Returns the name of the PopupAttachment (read-only).
Returns the type of the PopupAttachment (read-only).
See also Enums.PopupAttachmentType.
Returns the size of the PopupAttachment in bytes (read-only).
Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.
See also sizeAsInt.
The same as size but represented as an integer type (read-only).
Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.
This property was introduced in Esri.ArcGISRuntime 100.3.
Returns the status of the asynchronous thumbnail() operation (read-only).
See also Enums.TaskStatus.
Returns the URL to the thumbnail image (read-only).
Note: This property can be obtained after the thumbnail() operation is executed, and the thumbnailStatus is Enums.TaskStatusCompleted
.
Signal Documentation
Emitted when the attachment property changes.
Note: The corresponding handler is onAttachmentChanged
.
Emitted when the attachmentUrl property changes.
Note: The corresponding handler is onAttachmentUrlChanged
.
Emitted when the contentType property changes.
Note: The corresponding handler is onContentTypeChanged
.
Emitted when the editState property changes.
Note: The corresponding handler is onEditStateChanged
.
Emitted when the fullImageStatus property changes.
Note: The corresponding handler is onFullImageStatusChanged
.
Emitted when the fullImageUrl property changes.
Note: The corresponding handler is onFullImageUrlChanged
.
Emitted when the loadStatus
property changes.
Note: The corresponding handler is onLoadStatusChanged
.
See also Loadable.
Emitted when the local property changes.
Note: The corresponding handler is onLocalChanged
.
Emitted when the name property changes.
Note: The corresponding handler is onNameChanged
.
Emitted when the popupType property changes.
Note: The corresponding handler is onPopupTypeChanged
.
Emitted when the sizeAsInt property changes.
Note: The corresponding handler is onSizeAsIntChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.3.
Emitted when the size property changes.
Note: The corresponding handler is onSizeChanged
.
Emitted when the thumbnailStatus property changes.
Note: The corresponding handler is onThumbnailStatusChanged
.
Emitted when the thumbnailUrl property changes.
Note: The corresponding handler is onThumbnailUrlChanged
.
Method Documentation
See also Loadable.
Returns the full image for displaying the attachment in full screen or some UI larger than a thumbnail.
This is only supported if the PopupAttachmentType is Image.
The fullImageStatusChanged signal will emit with a fullImageStatus of Enums.TaskStatusCompleted
once complete.
See also Loadable.
See also Loadable.
Returns a thumbnail image with a given width, height, and aspectRatioMode.
This is only supported if the PopupAttachmentType is Image.
The thumbnailStatusChanged signal will emit with a thumbnailStatus of Enums.TaskStatusCompleted
once complete.