ShapeRange.Align(MsoAlignCmd, Int32) 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 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for