Select to view content in your preferred language

Retrieve the thumbnail of a feature layer attachment

1949
2
11-06-2011 11:10 PM
koaltechs_
Emerging Contributor
Hi all,

Can somebody tell me how to retrieve the thumbnail of an attachment?
I would like to use the function "thumbnail" of the class AGSAttachment to visualize the thumbnails in a tableview, but I do not how to code it.

Thanks in advance

Alberto
0 Kudos
2 Replies
NimeshJarecha
Esri Regular Contributor
For existing attachments: The AGSAttachment::thumbnail is available when you download them with AGSAttachmentManager::downloadAttachmentDataForId: method.

For new attachments: If you add new attachment with AGSAttachmentManager's add attachment methods.

Regards,
Nimesh
0 Kudos
koaltechs_
Emerging Contributor
Thanks Nimesh. This is clarified.

Alberto
0 Kudos