PrintPagesAcross Property [Visio 2003 SDK Documentation]

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

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.

Version added

4.0

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, Microsoft Office 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).

Applies to | Document object

See Also | PrintFitOnPages property | PrintPagesDown property