Document.FullBuildNumberCreated Property
Visio Automation Reference |
Returns the full build number of the instance used to create the document. Read-only.
Version Information
Version Added: Visio 2002
Syntax
expression.FullBuildNumberCreated
expression A variable that represents a Document object.
Return Value
Long
Remarks
The format of the full build number is described in the following table.
Bits | Description |
---|---|
0 - 15 |
Internal build number |
16 - 20 |
Internal revision number |
21 - 25 |
Minor version number |
26 - 30 |
Major version number (Microsoft Office Visio 2007 = 12) |
31 |
Reserved |
In addition, for Microsoft Office Visio 2007, to obtain the correct full build number, it is necessary to add 1000 to the internal revision number part of the full build number returned by the FullBuildNumberCreated property, as shown in the following macro.
Example
The following Microsoft Visual Basic for Applications (VBA) procedures show how to use the FullBuildNumberCreated property to get the full build number of the instance of Microsoft Office Visio used to create the document. Once the full build number has been obtained, the ParseFullBuildNumberCreatedProperty procedure parses the number and prints the results in the Immediate window.
Visual Basic for Applications |
---|
|
See Also