ContainerProperties.GetMargin method (Visio)

Returns the minimal distance, in the specified units, between the edges of the container or list and those of its member shapes.

Syntax

expression.GetMargin (MarginUnits)

expression A variable that represents a ContainerProperties object.

Parameters

Name Required/Optional Data type Description
MarginUnits Required VisUnitCodes The units in which to measure the margin.

Return value

Double

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.