Visio Properties for Storing and Retrieving Data

3 4

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.



Developing Microsoft Visio Solutions 2001
Developing Microsoft Visio Solutions (Pro-Documentation)
ISBN: 0735613532
EAN: 2147483647
Year: 2004
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net