Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RectangleColor Property
See Also 
Leadtools.Web.Controls Namespace > WebImagePanViewer Class : RectangleColor Property



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

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("The color used to draw the Pan Rectangle.")>
<CategoryAttribute("Appearance")>
<DefaultValueAttribute()>
Public Property RectangleColor As Color
Visual Basic (Usage)Copy Code
Dim instance As WebImagePanViewer
Dim value As Color
 
instance.RectangleColor = value
 
value = instance.RectangleColor
C# 
[DescriptionAttribute("The color used to draw the Pan Rectangle.")]
[CategoryAttribute("Appearance")]
[DefaultValueAttribute()]
public Color RectangleColor {get; set;}
C++/CLI 
[DescriptionAttribute("The color used to draw the Pan Rectangle.")]
[CategoryAttribute("Appearance")]
[DefaultValueAttribute()]
public:
property Color RectangleColor {
   Color get();
   void set (Color value);
}

Return Value

The Pan Rectangle color. The default is red.

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