Leadtools.Windows.Annotations Namespace > AnnContainer Class : EnableSnapToGrid Property |
public bool EnableSnapToGrid {get; set;}
'Declaration Public Property EnableSnapToGrid As Boolean
'Usage Dim instance As AnnContainer Dim value As Boolean instance.EnableSnapToGrid = value value = instance.EnableSnapToGrid
This property will enable or disable the snap to grid options set in the SnapToGridOptions property of this AnnContainer. It allows you to quickly enable/disable this feature by just changing this one property, by binding it to a user interface menu or check box item for instance.
For more information on snap to grid, refer to AnnSnapToGridOptions.
For C#/VB examples, refer to AnnSnapToGridOptions.