Documents for PDF, .NET Edition Documentation
Metadata Class Members
Properties  Methods 

GrapeCity.Documents.Pdf Assembly > GrapeCity.Documents.Pdf Namespace : Metadata Class

The following tables list the members exposed by Metadata.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the Metadata class.  
Top
Public Properties
 NameDescription
Public PropertyGets the list of document contributors. Maps to Dublin Core 'contributor' property.  
Public PropertyGets or sets the document copyright. Maps to Dublin Core 'rights' property.  
Public PropertyGets or sets the document coverage. Maps to Dublin Core 'coverage' property.  
Public PropertyGets or sets the creation date. Maps to XMP 'CreateDate' property. If null, the current date/time is used.  
Public PropertyGets the list of document creators. Maps to Dublin Core 'creator' property.  
Public PropertyGets or sets the creator tool, in PDF/A compatible documents this value should be the same as DocumentInfo.Creator.  
Public PropertyGets the list of document dates. Maps to Dublin Core 'date' property.  
Public PropertyGets or sets the document description. Maps to Dublin Core 'description' property.  
Public PropertyGets or sets the document identifier. Maps to Dublin Core 'identifier' property.  
Public PropertyGets the list of document keywords, or subjects. Maps to Dublin Core 'subject' property.  
Public PropertyGets the list of document languages. Maps to Dublin Core 'language' property.  
Public PropertyGets or sets the metadata date. Maps to XMP 'MetadataDate' property. If null, the current date/time is used.  
Public PropertyGets or sets the modification date. Maps to XMP 'ModifyDate' property. If null, the current date/time is used.  
Public PropertyGets or sets the PDF/A conformance version.  
Public PropertyGets or sets the PDF/UA conformance version. Null indicates that the document is not PDF/UA compliant.  
Public PropertyGets or sets the document's producer. Maps to PDF 'Producer' property. The default is the versioned name of the GcPdf library.  
Public PropertyGets the list of document publishers. Maps to Dublin Core 'publisher' property.  
Public PropertyGets or sets a value indicating whether the metadata is marked as read-only.  
Public PropertyGets the list of document relations. Maps to Dublin Core 'relation' property.  
Public PropertyGets or sets the document source. Maps to Dublin Core 'source' property.  
Public PropertyGets or sets the document's title. Maps to Dublin Core 'title' property.  
Public PropertyGets the list of document types. Maps to Dublin Core 'type' property.  
Top
Public Methods
 NameDescription
Public MethodAdds a property to metadata. Note that only allowed namespaces are:

"http://purl.org/dc/elements/1.1/" (Dublin Core Properties)

"http://ns.adobe.com/xap/1.0/" (XMP Core Properties)

"http://ns.adobe.com/pdf/1.3/" (PDF Properties)

Trying to add a property with another namespace will throw an exception.  
Public Methodstatic (Shared in Visual Basic)Formats a DateTime value for writing to metadata.  
Public MethodGets the content of the current metadata as a System.IO.Stream.  
Public MethodGets the content of the current metadata as a System.Xml.XmlDocument.  
Public MethodResets values of this Metadata object to default values.  
Top
See Also

Reference

Metadata Class
GrapeCity.Documents.Pdf Namespace