PdfPen Constructor (PdfRGBColor, Single)
|
Initializes a new instance of theclass.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfPen(
PdfRGBColor color,
float width
)
Public Sub New (
color As PdfRGBColor,
width As Single
)
public:
PdfPen(
PdfRGBColor color,
float width
)
new :
color : PdfRGBColor *
width : float32 -> PdfPen
Parameters
-
color
-
Type:
Spire.Pdf.Graphics
PdfRGBColor
Color of the pen.
-
width
-
Type:
System
Single
Width of the pen's line.
See Also