ArcGIS Runtime SDK for iOS: AGSPopupAttachment.h File Reference
ArcGIS Runtime SDK for iOS  100.15
AGSPopupAttachment.h File Reference

Go to the source code of this file.

Enumerations

enum  AGSImageScaleMode { AGSImageScaleModeFill = 0 , AGSImageScaleModeAspectFit , AGSImageScaleModeAspectFill }
 
enum  AGSPopupAttachmentEditState { AGSPopupAttachmentEditStateOriginal = 0 , AGSPopupAttachmentEditStateAdded , AGSPopupAttachmentEditStateDeleted }
 
enum  AGSPopupAttachmentSize {
  AGSPopupAttachmentSizeActual = 0 , AGSPopupAttachmentSizeSmall , AGSPopupAttachmentSizeMedium , AGSPopupAttachmentSizeLarge ,
  AGSPopupAttachmentSizeExtraLarge
}
 
enum  AGSPopupAttachmentType { AGSPopupAttachmentTypeImage = 0 , AGSPopupAttachmentTypeVideo , AGSPopupAttachmentTypeDocument , AGSPopupAttachmentTypeOther }
 

Enumeration Type Documentation

◆ AGSImageScaleMode

The scale mode for images.

Since
100.3
Enumerator
AGSImageScaleModeFill 

Scale to fill, not maintaining aspect ratio.

AGSImageScaleModeAspectFit 

Scales the image to fit in the desired size, maintains aspect ratio. No image cropping will occur.

AGSImageScaleModeAspectFill 

Scales the image to fill in the desired size both width and height-wise, maintains aspect ratio. Some cropping may occur.

◆ AGSPopupAttachmentEditState

The edit state of attachments in an AGSPopupAttachmentManager.

Since
100.0
Enumerator
AGSPopupAttachmentEditStateOriginal 

Attachments that already existed on the geo element and have not been deleted are considered original.

AGSPopupAttachmentEditStateAdded 

Attachments that have been provided via a URL or directly via data and then added to a GeoElement are considered added.

AGSPopupAttachmentEditStateDeleted 

Attachments that existed on the GeoElement but have been removed are considered deleted.

◆ AGSPopupAttachmentSize

Size options for an image attachment.

Since
100.0
Enumerator
AGSPopupAttachmentSizeActual 

Full resolution.

AGSPopupAttachmentSizeSmall 

240x320.

AGSPopupAttachmentSizeMedium 

480x640.

AGSPopupAttachmentSizeLarge 

960x1280.

AGSPopupAttachmentSizeExtraLarge 

1126x1500.

◆ AGSPopupAttachmentType

The type of attachments in an AGSPopupAttachmentManager.

Since
100.0
Enumerator
AGSPopupAttachmentTypeImage 

Any attachment whose MIME type contains 'image' prefix.

AGSPopupAttachmentTypeVideo 

Any attachment whose MIME type contains 'video' prefix.

AGSPopupAttachmentTypeDocument 

PDF, MS-Word, MS-Excel, MS-Powerpoint, HTML.

AGSPopupAttachmentTypeOther 

Other attachment type.