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 AnnAutomation.Visual Basic (Declaration) | |
---|---|
Public Property EnableSnapToGrid As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnAutomation 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 AnnAutomation, otherwise; false. Default value is false.This property will enable or disable the snap to grid options set in the AnnContainer.SnapToGridOptions property of the container in this AnnAutomation. 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.
This property will internally change the current AnnContainer.EnableSnapToGrid property.
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