Compartir a través de


ShapeRange.Distribute Method

Evenly distributes the shapes in the specified range of shapes. You can specify whether you want to distribute the shapes horizontally or vertically and whether you want to distribute them over the entire slide or just over the space they originally occupy.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub Distribute ( _
    DistributeCmd As MsoDistributeCmd, _
    RelativeTo As MsoTriState _
)
'Usage
Dim instance As ShapeRange
Dim DistributeCmd As MsoDistributeCmd
Dim RelativeTo As MsoTriState

instance.Distribute(DistributeCmd, RelativeTo)
void Distribute(
    MsoDistributeCmd DistributeCmd,
    MsoTriState RelativeTo
)

Parameters

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace