Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NFont Class / NFont Constructor / NFont Constructor(String,Double)
The font family name.
The font size (specified in points).


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

    Parameters

    name
    The font family name.
    size
    The font size (specified in points).
    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