Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NUITheme Class / CreateDefaultFont Method / CreateDefaultFont(Double,ENFontStyle) Method
Font size in points.


In This Topic
    CreateDefaultFont(Double,ENFontStyle) Method
    In This Topic
    Creates a default font with the given font style and size.
    Syntax
    'Declaration
     
    
    Protected Overloads Function CreateDefaultFont( _
       ByVal fontSize As System.Double, _
       ByVal fontStyle As ENFontStyle _
    ) As NFont
    'Usage
     
    
    Dim instance As NUITheme
    Dim fontSize As System.Double
    Dim fontStyle As ENFontStyle
    Dim value As NFont
     
    value = instance.CreateDefaultFont(fontSize, fontStyle)
    protected NFont CreateDefaultFont( 
       System.double fontSize,
       ENFontStyle fontStyle
    )

    Parameters

    fontSize
    Font size in points.
    fontStyle
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also