VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreatePen Methods / CreatePen(IDrawingBrush,Single) Method
Syntax Requirements SeeAlso
In This Topic
CreatePen(IDrawingBrush,Single) Method (DrawingFactory)
In This Topic
Creates a pen with specified brush and width.
Syntax
'Declaration

Public Overloads MustOverride Function CreatePen( _
ByVal brush
The brush.
As IDrawingBrush, _
ByVal width
The pen width.
As Single _
) As IDrawingPen
public abstract IDrawingPen CreatePen(
IDrawingBrush brush,
float width
)

Parameters

brush
The brush.
width
The pen width.

Return Value

A new pen with specified brush and width.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also