LeftMargin Property [AutoPageSetup]

The LeftMargin property returns or sets the plot window left margin in page units. Returns a Double.

Syntax

object.LeftMargin

object.LeftMargin = Left

 

Parameter Type Description
Left Double required, use page units

 

Example 1

This example demonstrates how to return the left margin of a page.

Debug.Print PageSetup.LeftMargin

Example 2

This example demonstrates how to set the left margin of a page to one page unit.

PageSetup.LeftMargin = 1

 

Used by: AutoPageSetup object