Shape.LengthIU property (Visio)

Returns the length (perimeter) of the shape in internal units. Read-only.

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.