Shape.LengthIU Property

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