• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

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.

Inheritance
object
XmlMetadataStream
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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.

Overrides
object.ToString()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX