Xceed Words for .NET v4.0 Documentation
Pen Constructor(Color)


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Pen Class > Pen Constructor : Pen Constructor(Color)
The Pen's Color.
Creates a Pen object from a Color.
Syntax
'Declaration
 
Public Function New( _
   ByVal penColor As Color _
)
'Usage
 
Dim penColor As Color
 
Dim instance As New Pen(penColor)
public Pen( 
   Color penColor
)

Parameters

penColor
The Pen's Color.
Remarks
Note that the Pen's Width will default to a value of 1.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, 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

Reference

Pen Class
Pen Members
Overload List