Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
ImageColor Property
See Also 
Leadtools.WinForms Namespace > RasterImagePanViewer Class : ImageColor Property




The Color that covers the un-panned area.

Syntax

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

Return Value

The surrounding Pan Rectangle color.

Example

Refer to Viewer example.

Remarks

This property contains the color of the area that surrounds the Pan Rectangle.
The default is Transparent color.

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