RasterFrame_CopyXMPData¶
Return a copy of the raster frame’s XMP data object.
RasterFrame_CopyXMPData(imgDocRef;frameIdx) ➔ xmpDataRef
→ | imgDocRef |
Text | The raster document reference. |
→ | frameIdx |
Longint | The raster frame index. |
↩︎ | xmpDataRef |
Text | The XMP data reference. |
Make a copy of the XMP data embedded into a raster frame and return a reference to it.
Parameter imgDocRef
is the reference to the raster document.
Parameter frameIdx
is the index of the image frame from which the XMP data is retrieved.
The reference to the XMP data object is returned in xmpDataRef
. The caller must release
the XMP data reference when no longer needed with a call to ImgObj_Release
,
otherwise there will be a memory leak.