PageSetup.BottomMargin Property
Word Developer Reference |
Returns or sets the distance (in points) between the bottom edge of the page and the bottom boundary of the body text. Read/write Single.
Syntax
expression.BottomMargin
expression A variable that represents a PageSetup object.
Example
This example sets the bottom margin to 72 points (1 inch) and the top margin to 2 inches for the active document. The InchesToPoints method is used to convert inches to points.
Visual Basic for Applications |
---|
|
This example sets the bottom margin to 2.5 inches for all the sections in the current selection.
Visual Basic for Applications |
---|
|
This example returns the bottom margin for section 1 in the selection. The PointsToInches method is used to convert the result to inches.
Visual Basic for Applications |
---|
|
See Also