ImgArea_GetDocument

Return the image document currently assigned to a plug-in area.
ImgArea_GetDocument(areaRef) ➔ imgDocRef
areaRef Longint The plug-in area reference.
↩︎ imgDocRef Text The image document reference.

Return the image document currently assigned to a plug-in area.

The plug-in area is specified by imageRef.

The image document reference is returned in imgDocRef. If no document is currently assigned to the area, an empty string is returned.

Note

Important: this method returns a retained document reference which means that the caller must release the document when no longer needed, otherwise there will be a memory leak.