OnPage Cell (Print Properties Section)

Indicates whether the drawing is printed on a specific number of printer pages.

Value Description
TRUE
Fit the drawing page to a defined number of printer pages.
FALSE
Do not fit the drawing page to a defined number of printer pages (the default).

Remarks

If the OnPage cell is set to TRUE, Microsoft Visio uses the PagesX and PagesY cells to determine the number of printer pages on which to fit the drawing. Values in the ScaleX and ScaleY cells are ignored. This can be considered an "autoscale" setting.

This value corresponds to the Fit to option on the Print Setup tab in the Page Setup dialog box (on the Design tab, click the Page Setup arrow).

To get a reference to the OnPage cell by name from another formula, or from a program using the CellsU property, use:

Value
Cell name:
OnPage

To get a reference to the OnPage cell by index from a program, use the CellsSRC property with the following arguments:

Value
Section index:
visSectionObject
Row index:
visRowPrintProperties
Cell index:
visPrintPropertiesOnPage