LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
SnapToGridOptions Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnContainer Class : SnapToGridOptions Property



The SnapToGridOptions Property supports WPF/Silverlight.

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

Gets or sets the snap to grid options for this AnnContainer. Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

An object of type AnnSnapToGridOptions that specifies the current snap to grid options for this AnnContainer object. Default value is a new AnnSnapToGridOptions object with default values.

Example

For C#/VB examples, refer to AnnSnapToGridOptions.

Remarks

Use this property to change current snap to grid options for this container. To enable the container to use snap to grid, you must also set the value of the EnableSnapToGrid property to true.

For more information on snap to grid, refer to AnnSnapToGridOptions.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

SnapToGridOptions requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.