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



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

Gets or sets the snap to grid options for this AnnContainer.

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 an example, 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: 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