Error processing SSI file
LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

Show in webframe

EnableSnapToGrid Property (AnnContainer)






Gets or sets a value to determine whether snapping to grid is enabled for this AnnContainer.
Syntax
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

            

            
public:
property bool EnableSnapToGrid {
   bool get();
   void set (    bool value);
}

Property Value

true if snap to grid option is enabled for this AnnContainer, otherwise; false. Default value is false.
Remarks

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.

Example

For C#/VB examples, refer to AnnSnapToGridOptions.

Requirements

Target Platforms

See Also

Reference

AnnContainer Class
AnnContainer Members

Error processing SSI file
   Leadtools.Windows.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features