VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI.WinForms Namespace / WinFormsTextBoxProvider Class / SetFont(String,Double,Boolean,Boolean,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    SetFont(String,Double,Boolean,Boolean,Boolean,Boolean) Method (WinFormsTextBoxProvider)
    In This Topic
    Sets the font.
    Syntax
    'Declaration
    
    Public Overrides Sub SetFont( _
    ByVal name
    The font name.
    As System.String, _
    ByVal size
    The font size.
    As Double, _
    ByVal isBold
    A value indicating whether font is bold.
    As Boolean, _
    ByVal isItalic
    A value indicating whether font is italic.
    As Boolean, _
    ByVal isUnderline
    A value indicating whether font is underlined.
    As Boolean, _
    ByVal isStrikeout
    A value indicating whether font is strikeout.
    As Boolean _
    )
    public override void SetFont(
    System.String name,
    double size,
    bool isBold,
    bool isItalic,
    bool isUnderline,
    bool isStrikeout
    )
    public: void SetFont(
    System.String name,
    double size,
    bool isBold,
    bool isItalic,
    bool isUnderline,
    bool isStrikeout
    ); override
    public:
    void SetFont(
    System.String name,
    double size,
    bool isBold,
    bool isItalic,
    bool isUnderline,
    bool isStrikeout
    ); override

    Parameters

    name
    The font name.
    size
    The font size.
    isBold
    A value indicating whether font is bold.
    isItalic
    A value indicating whether font is italic.
    isUnderline
    A value indicating whether font is underlined.
    isStrikeout
    A value indicating whether font is strikeout.
    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