VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreatePen Methods / CreatePen(ColorBase,Single) Method
Syntax Requirements SeeAlso
In This Topic
    CreatePen(ColorBase,Single) Method (DrawingFactory)
    In This Topic
    Creates a pen with specified color and width.
    Syntax
    'Declaration
    
    Public Overloads MustOverride Function CreatePen( _
    ByVal color
    The pen color.
    As Vintasoft.Imaging.ImageColors.ColorBase, _
    ByVal width
    The pen width.
    As Single _
    ) As IDrawingPen

    Parameters

    color
    The pen color.
    width
    The pen width.

    Return Value

    A new pen with specified color and width.
    Requirements

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

    See Also