Partager via


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

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace