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
- DistributeCmd
Type: Microsoft.Office.Core.MsoDistributeCmd
- RelativeTo
Type: Microsoft.Office.Core.MsoTriState