XMPData_CreateCopy¶
Create a copy of an existing XMP data object.
XMPData_CreateCopy(xmpDataRef) ➔ xmpDataCopyRef
→ | xmpDataRef |
Text | XMP data reference. |
↩︎ | xmpDataCopyRef |
Text | The XMP data copy reference. |
Make a copy of XMP data object xmpDataRef
and return a reference to it.
Parameter xmpDataRef
is the reference to the source XMP data object.
The reference to the copy is returned in the method result (xmpDataCopyRef
).
The reference to the copy must be released by the caller when no longer needed
with a call to ImgObj_Release
, otherwise there will be a memory leak.