PdfMetadata Class
Represents global information about the document such as the document’s title, author, and creation and modification dates.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v24.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
Declaration
Related API Members
The following members return PdfMetadata objects:
Remarks
Metadata in a PDF document is stored in the Extensible Metadata Platform (XMP) format.
Use the XmpDocument.FromString method to convert the retrieved data to an XMP packet, as shown in the example below.
using DevExpress.Pdf;
using DevExpress.Pdf.Xmp;
//...
using (PdfDocumentProcessor pdfDocumentProcessor = new PdfDocumentProcessor())
{
pdfDocumentProcessor.LoadDocument("Documents//Invoice.pdf");
PdfDocument document = pdfDocumentProcessor.Document;
string metadata = document.Metadata.Data;
XmpDocument xmpDocument = XmpDocument.FromString(metadata);
}
Inheritance
Object
DevExpress.Pdf.Native.PdfDocumentItem
DevExpress.Pdf.Native.PdfObject
PdfMetadata
See Also