Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Metadata Class
Properties Methods

In This Topic
    Metadata Class Members
    In This Topic

    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 the GcPdfDocument owning this object.  
    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 the PDF object ID. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public PropertyGets or sets the PDF/A conformance version.  
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfDict. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfDictWrapper)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapper<IPdfDict>)
    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.  
    Public PropertyGets the list of document custom properties.

    Note that the order of elements in the collection may change after saving and loading the document, this is due to the specifics of how properties are stored in the document, see the PDF specification for details.

     
    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 System.IO.Stream object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the GrapeCity.Documents.Pdf.Spec.PdfStreamInfo object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    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