Click or drag to resize

PdfDocumentMetadata Property

Gets or sets the raw XML metadata stream for the PDF document.

Namespace: Patagames.Pdf.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.111.2704
Syntax
public string Metadata { get; set; }

Property Value

String
The decoded XML metadata string if the stream exists; otherwise, .
Remarks
Setting this property to removes the "Metadata" key from the document's root dictionary. Setting a non-null string value automatically initializes an indirect XML stream (PdfTypeStream) with the appropriate dictionary attributes (/Type /Metadata and /Subtype /XML) and encodes the value using UTF-8.
See Also