ShapeRange.Align Method
Aligns the shapes in the specified range of shapes.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub Align ( _
AlignCmd As MsoAlignCmd, _
RelativeTo As MsoTriState _
)
'Usage
Dim instance As ShapeRange
Dim AlignCmd As MsoAlignCmd
Dim RelativeTo As MsoTriState
instance.Align(AlignCmd, RelativeTo)
void Align(
MsoAlignCmd AlignCmd,
MsoTriState RelativeTo
)
Parameters
- AlignCmd
Type: Microsoft.Office.Core.MsoAlignCmd
Specifies the way the shapes in the specified shape range are to be aligned.
- RelativeTo
Type: Microsoft.Office.Core.MsoTriState
Determines whether shapes are aligned relative to the edge of the slide.