PrintFitOnPages property

Microsoft Visio Developer Reference

PrintFitOnPages property

   Example   

Indicates whether drawings in a document are printed on a specified number of sheets across and down.

Version added

4.0

Syntax

boolRet = object.PrintFitOnPages
object.PrintFitOnPages = boolValue

boolRet

Boolean. True if the document will fit drawings on a specified number of sheets; otherwise, False.

object

Required. An expression that returns a Document object.

boolValue

Required Boolean. True to fit drawings on a specified number of sheets; otherwise, False.

Remarks

The PrintFitOnPages property corresponds to the Fit to settings in the Page Setup dialog box (click Page Setup on the File menu). If this property is True, Visio prints the document's drawings on the number of sheets specified by the PrintPagesAcross and PrintPagesDown properties.