LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
RectangleColor Property
See Also 
Leadtools.WinForms Namespace > RasterImagePanViewer Class : RectangleColor Property



Gets or sets the color used to draw the Pan Rectangle.

Syntax

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

Property Value

The Pan Rectangle color. The default is red.

Example

Refer to Viewer example.

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