PdfXmpMetadata.GetXmpMetadata
GetXmpMetadata()
Get the XmpMetadata of the input pdf in a xml format.
public byte[] GetXmpMetadata()
Return Value
The bytes of the XmpMetadata.
Examples
PdfXmpMetadata pxm = new PdfXmpMetadata();
pxm.BindPdf("PdfFile.pdf");
byte[] data = pxm.GetXmpMetadata();
See Also
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF
GetXmpMetadata(string)
Get a part of the XmpMetadata of the input pdf according to a meta name.
public byte[] GetXmpMetadata(string name)
Parameter | Type | Description |
---|---|---|
name | String | Metadata name. |
Return Value
Bytes of metadata.
Examples
PdfXmpMetadata pxm = new PdfXmpMetadata();
pxm.BindPdf("PdfFile.pdf");
byte[] data = pxm.GetXmpMetadata("dc:creator");
See Also
- class PdfXmpMetadata
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF