Export (0) Print
Expand All

ShapeRange.Align Method

Aligns the shapes in the specified range of shapes.

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

void Align(
	MsoAlignCmd Align,
	int RelativeTo
)

Parameters

Align
Type: MsoAlignCmd
Required MsoAlignCmd. Specifies the way the shapes in the specified shape range are to be aligned.
MsoAlignCmd can be one of the following constants:
msoAlignCenters
msoAlignMiddles
msoAlignTops
msoAlignBottoms
msoAlignLefts
msoAlignRights
RelativeTo
Type: System.Int32
Required Integer. True to align shapes relative to the edge of the document. False to align shapes relative to one another.

Community Additions

ADD
Show:
© 2014 Microsoft