PageUnits Property

 

The PageUnits property returns or sets the page units in inches or centimeters. Returns a long.

 

Syntax

object.PageUnits

object.PageUnits = PageUnits

 

Parameter

Type

Description

PageUnits

Long

required, grfPageUnits

 

 

Example 1

This example demonstrates how to change the page units to centimeters.

PlotWindow.PageUnits = grfCentimeters

 

Example 2

This example demonstrates how to return the page units.

Debug.Print PlotWindow.PageUnits

 

Used by: AutoPlotWindow object