ContainerProperties.SetListSpacing method (Visio)

Sets the gap between adjacent member shapes in the list.

Syntax

expression.SetListSpacing (SpacingUnits, SpacingSize)

expression A variable that represents a ContainerProperties object.

Parameters

Name Required/Optional Data type Description
SpacingUnits Required VisUnitCodes The units in which to measure the gap.
SpacingSize Required Double The size of the gap.

Return value

Nothing

Remarks

If the container is not a list, Microsoft Visio returns an Invalid Source error.

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.