PrintPagesAcross property

Microsoft Visio Developer Reference

PrintPagesAcross property

   Example   

Indicates the number of sheets of paper on which a drawing is printed horizontally.

Version added

4.0

Syntax

intRet = object.PrintPagesAcross
object.PrintPagesAcross = newValue

intRet

Integer. The current number of pages across on which drawings are printed.

object

Required. An expression that returns a Document object.

newValue

Required Integer. The new number of pages across on which to print drawings.

Remarks

You must set the value of the PrintFitOnPages property to True in order to use the PrintPagesAcross property. If the value of the PrintFitOnPages property is False, Visio ignores the PrintPagesAcross property.

The PrintPagesAcross property corresponds to the Fit to sheet(s) across setting in the Page Setup dialog box (click Page Setup on the File menu).