Share via


PrintGrid Cell (Print Properties Section) [Visio 2003 SDK Documentation]

Specifies whether to print the grid when printing a document page.

Value Description

TRUE

Show the grid when printing this page.

FALSE

Do not show the grid when printing this page (the default).

Remarks

This value corresponds to the Gridlines check box on the Print Setup tab in the Page Setup dialog box (File menu). Other than color (the printed version is gray), the printed grid is identical to the grid you see in the Microsoft Office Visio drawing window.

You can choose whether to print the grid on a page-by-page basis. The style of grid can also be defined on a page-by-page basis in the Ruler & Grid dialog box (Tools menu) when a page is active.

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

Cell name:

PrintGrid

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

Section index:

visSectionObject

Row index:

visRowPrintProperties

Cell index:

visPrintPropertiesPrintGrid