 | PdfDocumentMetadata Property |
Gets or sets the raw XML metadata stream for the PDF document.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.111.2704
Syntaxpublic string Metadata { get; set; }Public Property Metadata As String
Get
Set
public:
property String^ Metadata {
String^ get ();
void set (String^ value);
}member Metadata : string with get, set
/** @property */
public String get_Metadata()
/** @property */
public void set_Metadata(String value)
function get_Metadata();
function set_Metadata(value);
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