DocumentProperties

DocumentProperties class

Contains document property elements such as the document’s title, author, and so on.

Properties

NameTypeDescription
TitleStringContains a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters
SubjectStringContains a user-defined text string that describes the contents of the document. Maximum length is 63 characters.
CreatorStringIdentifies who created or last updated the file. The maximum length is 63 characters.
ManagerStringContains a user-entered text string identifying the person in charge of the project or department. The maximum length is
CompanyStringContains user-entered information identifying the company creating the drawing or the company the drawing is being creat
CategoryStringSpecifies the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entere
KeywordsStringContains a text string that identifies topics or other important information about the file, such as project name, clien
LanguageStringSpecifies the language
DescStringContains a descriptive text string for a document. Use this element to store important information about the document, s
HyperlinkBaseStringContains the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in rela
AlternateNamesStringSpecifies the alternate names for a document.
TemplateStringContains a string value specifying the file name of the template from which the document was created.
BuildNumberCreatedStringContains the full build number of the instance used to create the document.
BuildNumberEditedStringContains the build number of the instance last used to edit the document.
PreviewPicturebyte[]Contains a metafile stream that serves as a preview of the document.
TimeCreatedDateTimeContains date and time value indicating when the document was created.
TimeSavedDateTimeContains date and time value indicating when the document was last saved.
TimeEditedDateTimeContains date and time value indicating when the document was last edited.
TimePrintedDateTimeContains date and time value indicating when the document was last printed.
CustomPropsCustomPropCollectionCollection of CustomProp.

DocumentProperties.Title property

Contains a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters.

Type: String

DocumentProperties.Subject property

Contains a user-defined text string that describes the contents of the document. Maximum length is 63 characters.

Type: String

DocumentProperties.Creator property

Identifies who created or last updated the file. The maximum length is 63 characters.

Type: String

DocumentProperties.Manager property

Contains a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters.

Type: String

DocumentProperties.Company property

Contains user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters.

Type: String

DocumentProperties.Category property

Specifies the descriptive text for the type of drawing, such as flowchart or office layout. This text can also be entered in the Microsoft Visio user interface in the Category box in the Properties dialog box.

Type: String

DocumentProperties.Keywords property

Contains a text string that identifies topics or other important information about the file, such as project name, client name, or version number. The maximum string length is 63 characters.

Type: String

DocumentProperties.Language property

Specifies the language

Type: String

DocumentProperties.Desc property

Contains a descriptive text string for a document. Use this element to store important information about the document, such as its purpose, recent changes, or pending changes. The maximum is 191 characters.

Type: String

DocumentProperties.HyperlinkBase property

Contains the path to be used for relative hyperlinks (hyperlinks for which the linked file location is described in relation to the Microsoft Visio diagram). By default, a hyperlink path is relative to the current document unless a different path is specified in this element. Maximum length is 256 characters.

Type: String

DocumentProperties.AlternateNames property

Specifies the alternate names for a document.

Type: String

DocumentProperties.Template property

Contains a string value specifying the file name of the template from which the document was created.

Type: String

DocumentProperties.BuildNumberCreated property

Contains the full build number of the instance used to create the document.

Type: String

DocumentProperties.BuildNumberEdited property

Contains the build number of the instance last used to edit the document.

Type: String

DocumentProperties.PreviewPicture property

Contains a metafile stream that serves as a preview of the document.

Type: byte[]

DocumentProperties.TimeCreated property

Contains date and time value indicating when the document was created.

Type: DateTime

DocumentProperties.TimeSaved property

Contains date and time value indicating when the document was last saved.

Type: DateTime

DocumentProperties.TimeEdited property

Contains date and time value indicating when the document was last edited.

Type: DateTime

DocumentProperties.TimePrinted property

Contains date and time value indicating when the document was last printed.

Type: DateTime

DocumentProperties.CustomProps property

Collection of CustomProp.

Type: CustomPropCollection