ShapeRange.Align(MsoAlignCmd, Int32) ShapeRange.Align(MsoAlignCmd, Int32) ShapeRange.Align(MsoAlignCmd, Int32) Method

Definition

Aligns the shapes in the specified range of shapes.

public:
 void Align(Microsoft::Office::Core::MsoAlignCmd Align, int RelativeTo);
public void Align (Microsoft.Office.Core.MsoAlignCmd Align, int RelativeTo);
Public Sub Align (Align As MsoAlignCmd, RelativeTo As Integer)
Parameters
Align
Microsoft.Office.Core.MsoAlignCmd Microsoft.Office.Core.MsoAlignCmd Microsoft.Office.Core.MsoAlignCmd

Required Microsoft.Office.Core.MsoAlignCmd. Specifies the way the shapes in the specified shape range are to be aligned.MsoAlignCmd can be one of the following constants:msoAlignCentersmsoAlignMiddlesmsoAlignTopsmsoAlignBottomsmsoAlignLeftsmsoAlignRights

RelativeTo
Int32 Int32 Int32

Required Integer. True to align shapes relative to the edge of the document. False to align shapes relative to one another.

Applies to