ShapeRange.Align(MsoAlignCmd, MsoTriState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.