Expand Minimize

Document.PaperHeight Property (Visio)

Returns the height of a document's printed page. Read-only.

Version Added: Visio 4.5

expression .PaperHeight(UnitsNameOrCode)

expression A variable that represents a Document object.

Parameters

Name

Required/Optional

Data Type

Description

UnitsNameOrCode

Required

Variant

The units to use when retrieving the paper height.

Return Value

Double

The PaperHeight property value can be a string such as "inches", "inch", "in.", or "i". Strings may be used for all supported Microsoft Visio units such as centimeters, meters, miles, and so on. You can also use any of the unit constants declared by the Visio type library in VisUnitCodes.

Show:
© 2014 Microsoft