Modifica

Condividi tramite


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);
abstract member Align : Microsoft.Office.Core.MsoAlignCmd * int -> unit
Public Sub Align (Align As MsoAlignCmd, RelativeTo As Integer)

Parameters

Align
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:msoAlignCentersmsoAlignMiddlesmsoAlignTopsmsoAlignBottomsmsoAlignLeftsmsoAlignRights

RelativeTo
Int32

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

Applies to