Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Visio Automation Reference |
Returns the length (perimeter) of the shape in internal units. Read-only.
Version Information
Version Added: Visio 4.0
Syntax
expression.LengthIU(fIncludeSubShapes)
expression A variable that represents a Shape object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
fIncludeSubShapes | Optional | Boolean | False to exclude the length of subshapes. Length of subshapes is included by default. |
Return Value
Double
Remarks
Data graphic callout shapes (and their sub-shapes) that are applied to the parent shape are excluded from length calculations. If the parent shape is itself a data graphic callout shape, its geometry (and that of its sub-shapes) is not excluded from length calculations.
In versions before Microsoft Office Visio 2003, this property took no arguments.
See Also
Please sign in to use this experience.
Sign in