Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NFont Class / NFont Constructor / NFont Constructor(String,Double,ENFontStyle,ENFontRasterizationMode)
The font family name.
The font size (specified in points).
The font style (bold, italic, underlined, strike trough or combination).
The font rasterization mode (aliased, antialised etc.)


In This Topic
    NFont Constructor(String,Double,ENFontStyle,ENFontRasterizationMode)
    In This Topic
    Creates a font style from the specified name, em size, fontStyle and rasterization mode.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal name As System.String, _
       ByVal size As System.Double, _
       ByVal fontStyle As ENFontStyle, _
       ByVal rasterizationMode As ENFontRasterizationMode _
    )
    'Usage
     
    
    Dim name As System.String
    Dim size As System.Double
    Dim fontStyle As ENFontStyle
    Dim rasterizationMode As ENFontRasterizationMode
     
    Dim instance As New NFont(name, size, fontStyle, rasterizationMode)
    public NFont( 
       System.string name,
       System.double size,
       ENFontStyle fontStyle,
       ENFontRasterizationMode rasterizationMode
    )

    Parameters

    name
    The font family name.
    size
    The font size (specified in points).
    fontStyle
    The font style (bold, italic, underlined, strike trough or combination).
    rasterizationMode
    The font rasterization mode (aliased, antialised etc.)
    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