Share via


PaperHeight Property [Visio 2003 SDK Documentation]

Returns the height of a document's printed page.

retVal = object**.PaperHeight**(units)**

retVal     Double. The document's paper height expressed in the given units.

object     Required. An expression that returns a Document object.

units     Required Variant. The units to use when retrieving the paper height.

Version added

4.5

Remarks

Units can be a string such as "inches", "inch", "in.", or "i". Strings may be used for all supported Microsoft Office Visio 2003 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 member VisUnitCodes.

Applies to | Document object

See Also | PaperSize property | PaperWidth property | Result property