共用方式為


ContainerProperties.SetMargin Method (Visio)

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

Version Information

Version Added: Visio 2010

Syntax

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