Table of Contents

Class XmpMetadata

Namespace
Syncfusion.Pdf.Xmp
Assembly
Syncfusion.Pdf.Portable.dll

Represents XMP metadata of the document.

public class XmpMetadata
Inheritance
XmpMetadata
Inherited Members

Constructors

XmpMetadata(PdfDocumentInformation)

Initializes a new instance of the XmpMetadata class.

public XmpMetadata(PdfDocumentInformation documentInfo)

Parameters

documentInfo PdfDocumentInformation

XmpMetadata(XDocument)

Initializes a new instance of the XmpMetadata class.

public XmpMetadata(XDocument xmp)

Parameters

xmp XDocument

The XMP.

Fields

c_customSchema

Uri of the Custom Schema namespace

protected const string c_customSchema = "http://ns.adobe.com/pdfx/1.3/"

Field Value

string

c_dublinSchema

Uri of the Dublin Core schema namespace.

protected const string c_dublinSchema = "http://purl.org/dc/elements/1.1/"

Field Value

string

c_pdfschema

Uri of the Adobe PDF schema namespace.

protected const string c_pdfschema = "http://ns.adobe.com/pdf/1.3/"

Field Value

string

c_rdfPdfa

Uri of the Resource Description Framework PDF/A namespace.

protected const string c_rdfPdfa = "http://www.aiim.org/pdfa/ns/id/"

Field Value

string

c_rdfPrefix

Prefix of the PDF namespace.

protected const string c_rdfPrefix = "rdf"

Field Value

string

c_rdfUri

Uri of the Resource Description Framework namespace.

protected const string c_rdfUri = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"

Field Value

string

c_xap

Uri of the Extensible Authoring Publishing namespace.

protected const string c_xap = "http://ns.adobe.com/xap/1.0/"

Field Value

string

c_xmlPefix

Xml prefix.

protected const string c_xmlPefix = "xml"

Field Value

string

c_xmlUri

Namespace uri for the xml namespace.

protected const string c_xmlUri = "http://www.w3.org/XML/1998/namespace"

Field Value

string

c_xmlnsPrefix

Extensible Markup Language Namespace prefix.

protected const string c_xmlnsPrefix = "xmlns"

Field Value

string

c_xmlnsUri

Namespace unique resource identifier for the xmlns attribute.

protected const string c_xmlnsUri = "http://www.w3.org/2000/xmlns/"

Field Value

string

c_xpathRdf

Xpath for the RDF element.

protected const string c_xpathRdf = "/x:xmpmeta/rdf:RDF"

Field Value

string

Properties

BasicJobTicketSchema

Gets Basic Job Ticket Schema.

public BasicJobTicketSchema BasicJobTicketSchema { get; }

Property Value

BasicJobTicketSchema

BasicSchema

Gets Basic Schema.

public BasicSchema BasicSchema { get; }

Property Value

BasicSchema

DublinCoreSchema

Gets Dublin Core Schema.

public DublinCoreSchema DublinCoreSchema { get; }

Property Value

DublinCoreSchema

NamespaceManager

Gets namespace manager of the Xmp metadata.

public XmlNamespaceManager NamespaceManager { get; }

Property Value

XmlNamespaceManager

PDFSchema

Gets a schema specifying properties used with Adobe PDF documents.

public PDFSchema PDFSchema { get; }

Property Value

PDFSchema

PagedTextSchema

Gets Dublin Core Schema.

public PagedTextSchema PagedTextSchema { get; }

Property Value

PagedTextSchema

RightsManagementSchema

Gets Rights Management Schema.

public RightsManagementSchema RightsManagementSchema { get; }

Property Value

RightsManagementSchema

XmlData

Gets XMP data in XML format.

public XDocument XmlData { get; }

Property Value

XDocument

Methods

Add(XElement)

Adds schema to the XMP in XML format.

public void Add(XElement schema)

Parameters

schema XElement

XMP schema in XML format.

Remarks

If XMP already contains such schema - there will be two equal schemas at the xmp.

Load(XDocument)

Loads XMP from the XML.

public void Load(XDocument xmp)

Parameters

xmp XDocument

XMP data in XMLDocument.

Remarks

If there was any data in this XMP, it will be replaced by the data from the XML.