Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
CrosshairColor Property
See Also 
Leadtools.WinForms Namespace > RasterMagnifyGlass Class : CrosshairColor Property




Gets and sets the color of the crosshair.

Syntax

Visual Basic (Declaration) 
Public Overridable Property CrosshairColor As Color
Visual Basic (Usage)Copy Code
Dim instance As RasterMagnifyGlass
Dim value As Color
 
instance.CrosshairColor = value
 
value = instance.CrosshairColor
C# 
public virtual Color CrosshairColor {get; set;}
Managed Extensions for C++ 
public: __property virtual Color get_CrosshairColor();
public: __property virtual void set_CrosshairColor( 
   Color value
);
C++/CLI 
public:
virtual property Color CrosshairColor {
   Color get();
   void set (Color value);
}

Return Value

The Crosshair color.

Example

Refer to RasterMagnifyGlass example.

Remarks

This property value is used only if Crosshair property was set to RasterMagnifyGlassCrosshair.Fine.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also