Leadtools.Silverlight3.Controls Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Crosshair Property
See Also 
Leadtools.Silverlight3.Controls Namespace > MagnifyGlass Class : Crosshair Property





Gets or sets the type of the crosshair.

Syntax

Visual Basic (Declaration) 
Public Property Crosshair As MagnifyGlassCrosshair
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlass
Dim value As MagnifyGlassCrosshair
 
instance.Crosshair = value
 
value = instance.Crosshair
C# 
public MagnifyGlassCrosshair Crosshair {get; set;}
C++/CLI 
public:
property MagnifyGlassCrosshair Crosshair {
   MagnifyGlassCrosshair get();
   void set (MagnifyGlassCrosshair value);
}
XAML Attributes Usage 

<object Crosshair=Leadtools.Silverlight3.Controls.MagnifyGlassCrosshair .../>

Dependencies Property Information 

Identifier field

CrosshairProperty

XAML Attributes Usage 

<object Crosshair=Leadtools.Silverlight3.Controls.MagnifyGlassCrosshair .../>

Dependencies Property Information 

Identifier field

CrosshairProperty

Return Value

The Crosshair type.

Remarks

The use of the MagnifyGlass.CrosshairThickness and MagnifyGlass.CrosshairBrush properties depend on the value of this property.
  • If it is set to MagnifyGlassCrosshair.Fine both of them will be used.
  • If it is set to MagnifyGlassCrosshair.None neither of them will be used.
  • Requirements

    Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

    See Also

    Crosshair requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features