ShowGrid property

Microsoft Visio Developer Reference

ShowGrid property

       

Determines whether a grid is shown in a window.

Version added

4.5

Syntax

intRet = object.ShowGrid
object.ShowGrid = intExpression

intRet

Integer. True (-1) if grids are showing; False (0) if grids are hidden.

object

Required. An expression that returns a Window object.

intExpression

Required Integer. True (non-zero) to show a grid; False (0) to hide a grid.

Remarks

Setting the ShowGrid property is equivalent to clicking Grid on the View menu.