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



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

Gets or sets a value indicating the length of the grid (in pixels viewed at 100).

Syntax

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

Property Value

An System.Int32 that indicates the length of the grid in pixels (in pixels viewed at 100). Default value is 20.

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