ImageMan.Net Version 3 Summer 2012 Release
PenColor Property
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > SelectRectangle Class : PenColor Property





Glossary Item Box

Gets or sets the color of the pen used to outline the selection.

Syntax

Visual Basic (Declaration) 
Public Property PenColor As System.Drawing.Color
Visual Basic (Usage)Copy Code
Dim instance As SelectRectangle
Dim value As System.Drawing.Color
 
instance.PenColor = value
 
value = instance.PenColor
C# 
public System.Drawing.Color PenColor {get; set;}
JScript 
public function get,set PenColor : System.Drawing.Color
Managed Extensions for C++ 
public: __property System.Drawing.Color get_PenColor();
public: __property void set_PenColor( 
   System.Drawing.Color value
);
C++/CLI 
public:
property System.Drawing.Color PenColor {
   System.Drawing.Color get();
   void set (    System.Drawing.Color value);
}

Property Value

The color of the pen.

Remarks

Note that the pen is XORed onto the image which causes the color of the pen to vary depending on the image color under the pen.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.