ShapeRange.Align method

Aligns the shapes in the specified range of shapes.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

void Align(
	MsoAlignCmd AlignCmd,
	MsoTriState RelativeTo
)

Parameters

AlignCmd
Type: Microsoft.Office.Core.MsoAlignCmd

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

RelativeTo
Type: Microsoft.Office.Core.MsoTriState

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

Community Additions

ADD
Show:
© 2014 Microsoft