Class XmlMetadataStream
A typed wrapper around the document's /Metadata XML stream (spec §7.9.4).
Reads and writes the XMP packet directly, including the <?xpacket> wrapper.
Inherited Members
Namespace: DRIT.Pdf
Assembly: DRIT.Pdf.dll
Syntax
public sealed class XmlMetadataStream
Constructors
XmlMetadataStream()
Initializes a new metadata stream with empty XMP content.
Declaration
public XmlMetadataStream()
XmlMetadataStream(string)
Initializes a metadata stream with the given XML content.
Declaration
public XmlMetadataStream(string xmlContent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | xmlContent |
Properties
XmlContent
The raw XML/XMP content as a string.
Declaration
public string XmlContent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |