API Documentation > CorelDRAW > 2025-v26 > Grid > IVGGrid
Grid.Visible property
Gets or sets the grid's visibility state
Syntax:
Property Get Visible() As Boolean
Property Let Visible(ByVal Value As Boolean)
Remarks:
The Visible property shows or hides the grid. If the Visible property is True, the grid is displayed in the drawing window.
Examples:
The following VBA example hides the grid.
Sub Test()
ActiveDocument.Grid.Visible = False 
End Sub