Share via


PaperWidth Property [Visio 2003 SDK Documentation]

Returns the width of a document's printed page.

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

retVal     Double. The document's paper width 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 width.

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 units such as centimeters, meters, miles, and so on. You can also use any of the units constants declared by the Visio type library in member VisUnitCodes.

Applies to | Document object

See Also | PaperHeight property | PaperSize property | Result property