PDFDoc_CopyXMPData

Return a copy of the PDF document’s XMP data object.
PDFDoc_CopyXMPData(pdfDocRef) ➔ xmpDataRef
pdfDocRef Text The PDF document reference.
↩︎ xmpDataRef Text The XMP data reference

Make a copy of the XMP data embedded into a PDF document and return a reference to it.

Parameter pdfDocRef is the reference to the PDF document.

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.