The EnableSnapToGrid Property supports WPF/Silverlight.
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. Supported in Silverlight, Windows Phone 7Visual 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.For C#/VB examples, refer to AnnSnapToGridOptions.
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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)