You will have to access two drawing view objects: the view you are trying to align and the view you wish to align it with.
So, let's say that you have accessed the two drawing view objects and stored them in the following variables:
oTargetView (this one stores the view you are trying to align)
oInputView (this is the view you are aligning with)
You will also need to choose a DrawingViewAlignmentEnum. This tells it how you wish to align it, and you have three choices: kHorizontalViewAlignment, kVerticalViewAlignment, and kInPositionViewAlignment.
Once you have these three things, your syntax will be as follows: