LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
EnableSnap Property
See Also 
Leadtools.Annotations Namespace > AnnSnapToGridOptions Class : EnableSnap Property



The EnableSnap Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets a value that indicates the 'snap' behavior when drawing or moving annotation objects in design mode.

Syntax

Visual Basic (Declaration) 
Public Property EnableSnap As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnSnapToGridOptions
Dim value As Boolean
 
instance.EnableSnap = value
 
value = instance.EnableSnap
C# 
public bool EnableSnap {get; set;}
C++/CLI 
public:
property bool EnableSnap {
   bool get();
   void set (    bool value);
}

Property Value

true to enfore moving or drawing annotation objects snap to the nearest grid point, false to not enforce moving or drawing annotation objects do not snap to nearest grid point. Default value is true.

Example

For an example, refer to AnnSnapToGridOptions.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features