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
GridLength Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnSnapToGridOptions Class : GridLength Property



The GridLength Property supports WPF/Silverlight.

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). Supported in Silverlight, Windows Phone 7

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 C#/VB examples, 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

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