VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreateFont Methods / CreateFont(String,Single) Method
Syntax Requirements SeeAlso
In This Topic
    CreateFont(String,Single) Method (DrawingFactory)
    In This Topic
    Creates the font, which is based on font program.
    Syntax
    'Declaration
    
    Public Overloads Function CreateFont( _
    ByVal fontProgramFilename
    The filename of font program.
    As System.String, _
    ByVal size
    The size of the font.
    As Single _
    ) As IDrawingFont
    public IDrawingFont CreateFont(
    System.String fontProgramFilename,
    float size
    )
    public: IDrawingFont* CreateFont(
    System.String fontProgramFilename,
    float size
    )
    public:
    IDrawingFont^ CreateFont(
    System.String fontProgramFilename,
    float size
    )

    Parameters

    fontProgramFilename
    The filename of font program.
    size
    The size of the font.

    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