Share via


LeftMargin Property [Publisher 2003 VBA Language Reference]

Returns or sets a Variant that represents the distance (in points) between the left edge of the printer sheet and the left edge of the publication pages. Read/write.

expression.LeftMargin

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

Remarks

You can only use the LeftMargin property when printing multiple pages on a single sheet of printer paper.

When used with the Label object, the LeftMargin property is read/write only when accessed from .PageSetup.Label. Otherwise, it is read-only.

Example

This example specifies a width of a quarter of an inch for the area between the edge of the printer paper and the left edge of the pages in the active publication.

Sub SetLeftMargin()
    With ActiveDocument.PageSetup
        .PageHeight = InchesToPoints(5)
        .PageWidth = InchesToPoints(8)
        .MultiplePagesPerSheet = True
        .LeftMargin = InchesToPoints(0.25)
    End With
End Sub

Applies to | Label Object | PageSetup Object