PageSetup.TopMargin property (Publisher)

Returns a Variant that represents the distance between the top edge of the printer sheet and the top edge of the publication pages. Read-only.

Syntax

expression.TopMargin

expression A variable that represents a PageSetup object.

Return value

Variant

Remarks

Numeric values are evaluated as points. String values can be in any unit supported by Microsoft Publisher (for example, "2.5 in"). The valid range of possible values is from zero to the difference between the height of the sheet and the height of the publication pages.

The TopMargin property returns a value only when you print multiple pages on a single sheet of printer paper. If you attempt to use it in other circumstances, Microsoft Publisher returns Nothing.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.