Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return Value

The Pan Rectangle color. The default is red.

Example

Refer to Viewer example.

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