Frame.VerticalPosition Property
Word Developer Reference |
Returns or sets the vertical distance between the edge of the frame and the item specified by the RelativeVerticalPosition property. Read/write Single.
Syntax
expression.VerticalPosition
expression Required. A variable that represents a Frame object.
Remarks
Can be a number that indicates a measurement in points, or can be any valid WdFramePosition constant.
Example
This example vertically aligns the first frame in the active document with the top of the page.
Visual Basic for Applications |
---|
|
This example adds a frame around the first shape in the active document and positions the frame 1 inch from the top margin.
Visual Basic for Applications |
---|
|
This example vertically aligns the first table in the active document with the top of the page.
Visual Basic for Applications |
---|
|
See Also