Method that aligns this view with the input drawing view. The method returns a failure if the view is already aligned. Use the Aligned property to check for this condition and to break existing alignment.
Name | Type | Description |
DrawingView | DrawingView | Input DrawingView object that specifies the view with which to align this view. |
AlignmentType | DrawingViewAlignmentEnum | Input DrawingViewAlignmentEnum that specifies the alignment type. Valid values are kHorizontalViewAlignment, kVerticalViewAlignment and kInPositionViewAlignment. |