Edit

Share via


ShapeRange.Align(MsoAlignCmd, MsoTriState) Method

Definition

Aligns the shapes in the specified range of shapes.

public:
 void Align(Microsoft::Office::Core::MsoAlignCmd AlignCmd, Microsoft::Office::Core::MsoTriState RelativeTo);
public void Align (Microsoft.Office.Core.MsoAlignCmd AlignCmd, Microsoft.Office.Core.MsoTriState RelativeTo);
Public Sub Align (AlignCmd As MsoAlignCmd, RelativeTo As MsoTriState)

Parameters

AlignCmd
MsoAlignCmd

Required MsoAlignCmd. Specifies the way the shapes in the specified shape range are to be aligned.

RelativeTo
MsoTriState

Required MsoTriState. Not used in Microsoft Excel. Must be False.

Applies to