Represents XMP metadata of the document.
Namespace: Spire.Pdf.XmpAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("This class may be removed in the future.")] public class XmpMetadata : [T:sprᝰ]
<ObsoleteAttribute("This class may be removed in the future.")> Public Class XmpMetadata Implements [T:sprᝰ]
[ObsoleteAttribute(L"This class may be removed in the future.")] public ref class XmpMetadata : [T:sprᝰ]
[<ObsoleteAttribute("This class may be removed in the future.")>] type XmpMetadata = class interface [T:sprᝰ] end
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| XmpMetadata(XmlDocument) |
Initializes a new instance of the class.
| |
| XmpMetadata(PdfDocumentInformation) |
Initializes a new instance of the class.
| |
| Add(XmlElement) |
Adds schema to the XMP in XML format.
| |
| c_dublinSchema | ||
| c_pdfschema | ||
| c_pdfx | ||
| c_rdfPdfa | ||
| c_rdfPrefix | ||
| c_rdfUri | ||
| c_xap | ||
| c_xmlnsPrefix | ||
| c_xmlnsUri | ||
| c_xmlPefix | ||
| c_xmlUri | ||
| c_xpathRdf | ||
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetAllCustomProperties()()()() |
Return all custom properties if exsit; otherwise return empty Dictionary
| |
| GetAuthor()()()() |
Return author if exists; otherwise return null
| |
| GetCreateDate()()()() |
Return create date if exists; otherwise return default DateTime
| |
| GetCreator()()()() |
Return creator if exists; otherwise return null
| |
| GetCustomProperty(String) |
Return specified custom field value if exists; otherwise return null
| |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetKeywords()()()() |
return keywords if exists; otherwise return null
| |
| GetModifyDate()()()() |
Return modify date if exists; otherwise return System.DateTime.MinValue
| |
| GetProducer()()()() |
Return producer if exists; otherwise return null
| |
| GetSubject()()()() |
Return subject if exists; otherwise return null
| |
| GetTitle()()()() |
Return title if exists; otherwise return null
| |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| NamespaceManager |
Gets namespace manager of the Xmp metadata.
| |
| SetAuthor(String) |
Set subject to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| SetCreateDate(DateTime) |
Set title to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| SetCreator(String) |
Set Creator to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| SetCustomProperty(String, String) |
Set custom property to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| SetKeywords(String) |
Set keywords to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| SetModifyDate(DateTime) |
Set ModifyDates to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| SetProducer(String) |
Set producer to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| SetSubject(String) |
Set subject to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| SetTitle(String) |
Set title to xmpmeta; if value is null, remove the node; if the node is null, create the node
| |
| ToString()()()() |
Returns a String that represents the current Object.
(Inherited from Object.) | |
| XmlData |
Gets XMP data in XML format.
|
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Xmp..::..XmpMetadata
Spire.Pdf.Xmp..::..XmpMetadata