PageUnits Property

 

The PageUnits property returns or sets the global page unit type. Returns MVPageUnits.

 

Syntax

object.PageUnits

object.PageUnits = Units

 

Parameter

Type

Description

Units

MVPageUnits

required, page units

 

Example 1

This example demonstrates how to return the current page units (inch or centimeter).

 

Debug.Print mvApp.PageUnits

 

Example 2

This example demonstrates how to set centimeters as the page units for all windows.

 

mvApp.PageUnits = mvUnitsCentimeter

 

Used by: Application object, PlotDocument object