The EnableSnapToGrid Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets a value to determine whether snapping to grid is enabled for this AnnContainer.Visual Basic (Declaration) | |
---|---|
Public Property EnableSnapToGrid As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnContainer Dim value As Boolean instance.EnableSnapToGrid = value value = instance.EnableSnapToGrid |
C# | |
---|---|
public bool EnableSnapToGrid {get; set;} |
Property Value
true if snap to grid option is enabled for this AnnContainer, otherwise; false. Default value is false.For an example, refer to AnnSnapToGridOptions.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7