DocumentProperties class

DocumentProperties class

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

The DocumentProperties type exposes the following members:

Properties

PropertyDescription
titleContains a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters.
subjectContains a user-defined text string that describes the contents of the document. Maximum length is 63 characters.
creatorIdentifies who created or last updated the file. The maximum length is 63 characters.
managerContains a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters.
companyContains user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters.
categorySpecifies 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.
keywordsContains 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.
languageSpecifies the language
descContains 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.
hyperlink_baseContains 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.
alternate_namesSpecifies the alternate names for a document.
templateContains a string value specifying the file name of the template from which the document was created.
build_number_createdContains the full build number of the instance used to create the document.
build_number_editedContains the build number of the instance last used to edit the document.
preview_pictureContains a metafile stream that serves as a preview of the document.
time_createdContains date and time value indicating when the document was created.
time_savedContains date and time value indicating when the document was last saved.
time_editedContains date and time value indicating when the document was last edited.
time_printedContains date and time value indicating when the document was last printed.
custom_propsCollection of CustomProp.

See Also