共用方式為


ContainerProperties.SetListSpacing Method (Visio)

Sets the gap between adjacent member shapes in the list.

Version Information

Version Added: Visio 2010

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.