VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Barcode.TextRendering Namespace / TextRenderingFactory Class / CreateTextFont Methods / CreateTextFont(TextFont,Single) Method
Syntax Requirements SeeAlso
In This Topic
    CreateTextFont(TextFont,Single) Method (TextRenderingFactory)
    In This Topic
    Creates the font from the source font and changes size of created font.
    Syntax
    'Declaration
    
    Public Overloads Function CreateTextFont( _
    ByVal font
    The source font.
    As TextFont, _
    ByVal size
    The font size, measured in the world space units (1/96 inch).
    As Single _
    ) As TextFont
    public TextFont CreateTextFont(
    TextFont font,
    float size
    )
    public: TextFont* CreateTextFont(
    TextFont* font,
    float size
    )
    public:
    TextFont^ CreateTextFont(
    TextFont^ font,
    float size
    )

    Parameters

    font
    The source font.
    size
    The font size, measured in the world space units (1/96 inch).

    Return Value

    The text 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