Document.PaperWidth property (Visio)

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

Syntax

expression.PaperWidth (UnitsNameOrCode)

expression A variable that represents a Document object.

Parameters

Name Required/Optional Data type Description
UnitsNameOrCode Required Variant The units to use when setting or retrieving the paper width.

Return value

Double

Remarks

The PaperWidth 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 units constants declared by the Visio type library in member VisUnitCodes.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.