Table of contents
TOC
Collapse the table of content
Expand the table of content

TextFrame.MarginBottom Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns or sets a Variant that represents the amount of space (in points) between the text and the bottom edge of a cell, text frame, or page. Read/write.

Syntax

expression. MarginBottom

_expression_A variable that represents a TextFrame object.

Example

This example sets the margins of the active publication to two inches.

Sub SetPageMargins() 

 With ActiveDocument.LayoutGuides 
 .MarginTop = Application.InchesToPoints(Value:=2) 
 .MarginBottom = Application.InchesToPoints(Value:=2) 
 .MarginLeft = Application.InchesToPoints(Value:=2) 
 .MarginRight = Application.InchesToPoints(Value:=2) 
 End With 

End Sub
© 2018 Microsoft