PrintScale property

Microsoft Visio Developer Reference

PrintScale property

   Example   

Indicates how much drawings are reduced or enlarged when printed.

Version added

4.0

Syntax

retVal = object.PrintScale
object.PrintScale = newValue

retVal

Double. The scale at which drawings are printed; 1.0 equals 100%.

object

Required. An expression that returns a Document object.

newValue

Required Double. The new scale value.

Remarks

The PrintScale property corresponds to the Adjust to setting on the Print Setup tab in the Page Setup dialog box (click Page Setup on the File menu). To print a drawing at half its size, specify 0.5. To print a drawing at twice its size, specify 2.0.