次の方法で共有


PageSetup.LeftMargin Property (Word)

Returns or sets the distance (in points) between the left edge of the page and the left boundary of the body text. Read/write Single.

Syntax

expression .LeftMargin

expression An expression that returns a PageSetup object.

Remarks

If the MirrorMargins property is set to True, the LeftMargin property controls the setting for inside margins and the RightMargin property controls the setting for outside margins.

Example

This example sets the left margin to 1 inch (72 points) for the second section in the active document.

ActiveDocument.Sections(2).PageSetup.LeftMargin = 72

See Also

Concepts

PageSetup Object

PageSetup Object Members