Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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) 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("The color used to draw the Pan Rectangle.")>
<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# 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to draw the Pan Rectangle.")]
[DefaultValueAttribute()]
public Color RectangleColor {get; set;}
Managed Extensions for C++ 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to draw the Pan Rectangle.")]
[DefaultValueAttribute()]
public: __property Color get_RectangleColor();
public: __property void set_RectangleColor( 
   Color value
);
C++/CLI 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("The color used to draw the Pan Rectangle.")]
[DefaultValueAttribute()]
public:
property Color RectangleColor {
   Color get();
   void set (Color value);
}

Return Value

The Pan Rectangle color. The default is red.

Example

Refer to OpenImageUrl 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