API Documentation
>
CorelDRAW
>
2025-v26
>
Grid
>
IVGGrid
Grid.Snap property
Gets or sets whether to Snap to grid
Syntax:
Property
Get
Snap
(
)
As
Boolean
Property
Let
Snap
(
ByVal
Value
As
Boolean
)
Remarks:
The
Snap
property returns
True
if the
Snap To Grid
feature is enabled,
False
otherwise.
Examples:
The following VBA example enables snapping to a grid.
Sub Test() ActiveDocument.Grid.Snap = True End Sub