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

Property Description
title Contains a user-defined text string that serves as a descriptive title for the document. Maximum length is 63 characters.
subject Contains a user-defined text string that describes the contents of the document. Maximum length is 63 characters.
creator Identifies who created or last updated the file. The maximum length is 63 characters.
manager Contains a user-entered text string identifying the person in charge of the project or department. The maximum length is 63 characters.
company Contains user-entered information identifying the company creating the drawing or the company the drawing is being created for. Maximum length is 63 characters.
category 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.
keywords 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.
language Specifies the language
desc 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.
hyperlink_base 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.
alternate_names Specifies the alternate names for a document.
template Contains a string value specifying the file name of the template from which the document was created.
build_number_created Contains the full build number of the instance used to create the document.
build_number_edited Contains the build number of the instance last used to edit the document.
preview_picture Contains a metafile stream that serves as a preview of the document.
time_created Contains date and time value indicating when the document was created.
time_saved Contains date and time value indicating when the document was last saved.
time_edited Contains date and time value indicating when the document was last edited.
time_printed Contains date and time value indicating when the document was last printed.
custom_props Collection of CustomProp.

See Also