VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreateFont Methods / CreateFont(IDrawingFont,Single,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    CreateFont(IDrawingFont,Single,Boolean,Boolean) Method (DrawingFactory)
    In This Topic
    Creates the font from the source font and changes size, bold/italic style of created font.
    Syntax
    'Declaration
    
    Public Overloads Function CreateFont( _
    ByVal font
    The source font.
    As IDrawingFont, _
    ByVal size
    The font size.
    As Single, _
    ByVal isBold
    A value indicating whether font is bold.
    As Boolean, _
    ByVal isItalic
    A value indicating whether font is italic.
    As Boolean _
    ) As IDrawingFont

    Parameters

    font
    The source font.
    size
    The font size.
    isBold
    A value indicating whether font is bold.
    isItalic
    A value indicating whether font is italic.

    Return Value

    The font.
    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