ContainerProperties.SetMargin method (Visio)

Sets the gap between the container and member shapes to the specified size, in the specified units.


expression.SetMargin (MarginUnits, MarginSize)

expression A variable that represents a ContainerProperties object.


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

Return value


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.