[]
        
(Showing Draft Content)

C1.C1Preview.DocumentInfo

DocumentInfo Class

Represents general information about a C1PrintDocument, such as author, subject, creation date and time, and so on. Can be accessed via the DocumentInfo property on a document.

Inheritance
DocumentInfo
Implements
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class DocumentInfo : ICloneable

Constructors

Name Description
DocumentInfo()

Initializes a new instance of the DocumentInfo class.

Properties

Name Description
Author

Gets or sets the author of a document.

Comment

Gets or sets the comment.

Company

Gets or sets the company of a document's author.

CreationTime

Gets or sets the date and time when a document was created.

Creator

Gets or sets the application that created the original document.

Keywords

Gets or sets the keywords for a document.

Manager

Gets or sets the manager of the author.

Operator

Gets or sets the person who last made changes to a document.

Producer

Gets or sets the application that created a document.

RevisionTime

Gets or sets the date and time when a document was last modified.

Subject

Gets or sets the subject of a document.

Title

Gets or sets the title of a document.

UserData

Gets the Dictionary<TKey, TValue> of custom user defined string keys and strings associated with a document.

Methods

Name Description
AssignFrom(DocumentInfo)

Assigns (copies) properties from another DocumentInfo to the current object.

Clone()

Creates a copy of the current DocumentInfo object.

GetKeywordsAsText()

Returns the Keywords collection of the current object as a single space-delimited string.

SetKeywordsAsText(string)

Assigns the Keywords collection on the current object from a single string containing the space-delimited list of keywords. (Note that the Keywords collection is cleared by this method prior to assignment.)

ShouldSerialize()

Indicates whether the current DocumentInfo object should be serialized.

ShouldSerializeAuthor()

Indicates whether the Author property should be serialized.

ShouldSerializeComment()

Indicates whether the Comment property should be serialized.

ShouldSerializeCompany()

Indicates whether the Company property should be serialized.

ShouldSerializeCreationTime()

Indicates whether the CreationTime property should be serialized.

ShouldSerializeCreator()

Indicates whether the Creator property should be serialized.

ShouldSerializeKeywords()

Indicates whether the Keywords property should be serialized.

ShouldSerializeManager()

Indicates whether the Manager property should be serialized.

ShouldSerializeOperator()

Indicates whether the Operator property should be serialized.

ShouldSerializeProducer()

Indicates whether the Producer property should be serialized.

ShouldSerializeRevisionTime()

Indicates whether the RevisionTime property should be serialized.

ShouldSerializeSubject()

Indicates whether the Subject property should be serialized.

ShouldSerializeTitle()

Indicates whether the Title property should be serialized.