PageSetup Property [PlotDocument]

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

Syntax

object.PageSetup

Example 1

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

Debug.Print Plot.PageSetup.Orientation

Example 2

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

Plot.PageSetup.RightMargin = 1

Example 3

This script displays all the methods and properties in the PlotDocument object.

Used by: PlotDocument object

See Also

File | Page Setup