LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property Value

The Pan Rectangle color. The default is red.

Example

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