Documents for PDF, .NET Edition Documentation
Pen Constructor(Color,Single)

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Drawing Namespace > Pen Class > Pen Constructor : Pen Constructor(Color,Single)
Color of the lines drawn with this pen.
Width of the lines drawn with this pen, in units of the Graphics object used for drawing.
Initializes a new instance of a Pen.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As System.Drawing.Color, _
   ByVal width As System.Single _
)
public Pen( 
   System.Drawing.Color color,
   System.float width
)

Parameters

color
Color of the lines drawn with this pen.
width
Width of the lines drawn with this pen, in units of the Graphics object used for drawing.
See Also

Reference

Pen Class
Pen Members
Overload List