PageSetup.TopMargin Property
Word Developer Reference |
Returns or sets the distance (in points) between the top edge of the page and the top boundary of the body text. Read/write Single.
Syntax
expression.TopMargin
expression Required. A variable that represents a PageSetup object.
Example
This example sets the top margin to 72 points (1 inch) for the first section in the active document.
Visual Basic for Applications |
---|
|
This example creates a new custom label and sets several properties, including the top margin, and then it creates a new document using the custom labels.
Visual Basic for Applications |
---|
|
See Also