Visio Properties for Storing and Retrieving Data
This section provides information about using properties for storing data from a Microsoft® Visio® drawing. The following table lists common properties that return strings and the maximum size of each string.
Properties for retrieving and storing text
Property |
Object property applies to |
Maximum size |
Title, Subject, Author, Manager, Company, Category, Keywords, Description, HyperlinkBase, AlternateName |
Document |
63 characters each |
Data1, Data2, Data3 |
Shape |
Unlimited |
Formula |
Cell |
Unlimited |
FullName |
Document |
255 characters |
Name |
Document |
255 characters |
Name |
Layer, Master, Shortcut, Page, Shape, Style |
31 characters |
NameID |
Shape |
36 characters |
Path |
Document |
255 characters |
Prompt |
Master, Shortcut |
255 characters |
Text |
Shape, Characters |
Unlimited |
UniqueID |
Master, Shortcut, Shape |
39 characters |
The Visio engine returns both real numbers and integers as floating point numbers with 15 significant digits. To reduce the possibility of rounding errors in Microsoft® Visual Basic® or Microsoft® Visual Basic® for Applications (VBA), assign numbers to Variant or Double variables and store numbers in fields with the appropriate data type.