M

IExternalDataManagerServer.GetPreviewImage

Description:
Retrieves the handle of preview image.
Remarks:
Provides a WIN32 HBITMAP handle (or platform equivalent) representing a small preview (typically 256X256). The dialog takes ownership and will call DeleteObject when done. Return nullptr if the server cannot supply a preview or if generating it would be expensive.
IntPtr GetPreviewImage(
	Document document,
	ExternalDataManagerDataItemId dataId
)
Return Value IntPtr The handle of the preview image.