XFINIUM.PDF Documentation
PdfPen Constructor(PdfColor,Double)



Xfinium.Pdf.Graphics Namespace > PdfPen Class > PdfPen Constructor : PdfPen Constructor(PdfColor,Double)
Pen color.
Pen width.
Initializes a new PdfPen object.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As PdfColor, _
   ByVal width As Double _
)
'Usage
 
Dim color As PdfColor
Dim width As Double
 
Dim instance As New PdfPen(color, width)
public PdfPen( 
   PdfColor color,
   double width
)
public:
PdfPen( 
   PdfColor^ color,
   double width
)

Parameters

color
Pen color.
width
Pen width.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfPen Class
PdfPen Members
Overload List