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
documentInfoPdfDocumentInformation
XmpMetadata(XDocument)
Initializes a new instance of the XmpMetadata class.
public XmpMetadata(XDocument xmp)
Parameters
xmpXDocumentThe XMP.
Fields
c_customSchema
Uri of the Custom Schema namespace
protected const string c_customSchema = "http://ns.adobe.com/pdfx/1.3/"
Field Value
c_dublinSchema
Uri of the Dublin Core schema namespace.
protected const string c_dublinSchema = "http://purl.org/dc/elements/1.1/"
Field Value
c_pdfschema
Uri of the Adobe PDF schema namespace.
protected const string c_pdfschema = "http://ns.adobe.com/pdf/1.3/"
Field Value
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
c_rdfPrefix
Prefix of the PDF namespace.
protected const string c_rdfPrefix = "rdf"
Field Value
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
c_xap
Uri of the Extensible Authoring Publishing namespace.
protected const string c_xap = "http://ns.adobe.com/xap/1.0/"
Field Value
c_xmlPefix
Xml prefix.
protected const string c_xmlPefix = "xml"
Field Value
c_xmlUri
Namespace uri for the xml namespace.
protected const string c_xmlUri = "http://www.w3.org/XML/1998/namespace"
Field Value
c_xmlnsPrefix
Extensible Markup Language Namespace prefix.
protected const string c_xmlnsPrefix = "xmlns"
Field Value
c_xmlnsUri
Namespace unique resource identifier for the xmlns attribute.
protected const string c_xmlnsUri = "http://www.w3.org/2000/xmlns/"
Field Value
c_xpathRdf
Xpath for the RDF element.
protected const string c_xpathRdf = "/x:xmpmeta/rdf:RDF"
Field Value
Properties
BasicJobTicketSchema
Gets Basic Job Ticket Schema.
public BasicJobTicketSchema BasicJobTicketSchema { get; }
Property Value
BasicSchema
Gets Basic Schema.
public BasicSchema BasicSchema { get; }
Property Value
DublinCoreSchema
Gets Dublin Core Schema.
public DublinCoreSchema DublinCoreSchema { get; }
Property Value
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
PagedTextSchema
Gets Dublin Core Schema.
public PagedTextSchema PagedTextSchema { get; }
Property Value
RightsManagementSchema
Gets Rights Management Schema.
public RightsManagementSchema RightsManagementSchema { get; }
Property Value
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
schemaXElementXMP 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
xmpXDocumentXMP data in XMLDocument.
Remarks
If there was any data in this XMP, it will be replaced by the data from the XML.