This documentation is archived and is not being maintained.

PrintPagesAcross property

PrintPagesAcross property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

https://msdn.microsoft.com/en-us/library/aa190991(v=office.10) See also         Example         https://msdn.microsoft.com/en-us/library/aa190990(v=office.10) Applies to

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).

Show: