leftMargin Property

Microsoft FrontPage Visual Basic

leftMargin Property

Sets or returns a String that represents the number of pixels for the left margin of the page.

expression.leftMargin

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example sets the bottom, top, left, and right margins to 50 pixels.

    With ActiveDocument.body
   .bottomMargin = "50"
   .leftMargin = "50"
   .rightMargin = "50"
   .topMargin = "50"
End With