PageSetup Property [PlotDocument]

 

The PageSetup property returns the PageSetup object for the map document. This is a read-only property.

 

Syntax

object.PageSetup

 

Example 1

This example demonstrates how to return the orientation of a map document.

 

Debug.Print Plot.PageSetup.Orientation

 

Example 2

This example demonstrates how to set the right margin of a map document to one page unit.

 

Plot.PageSetup.RightMargin = 1

 

Used by: PlotDocument object