This documentation is archived and is not being maintained.

ContainerProperties.SetMargin Method (Visio)

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

Version Added: Visio 2010

expression .SetMargin(MarginUnits, MarginSize)

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.

MarginSize

Required

Double

The size of the margin.

Return Value

Nothing

Show: