Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NFontFaceDescriptor Class / FontStyleToFontVariant Method


In This Topic
    FontStyleToFontVariant Method
    In This Topic
    Converts a font style to a font variant. Font variants do not support strikeout and underline as they are synthetic.
    Syntax
    'Declaration
     
    
    Public Shared Function FontStyleToFontVariant( _
       ByVal fontStyle As ENFontStyle _
    ) As ENFontVariant
    'Usage
     
    
    Dim fontStyle As ENFontStyle
    Dim value As ENFontVariant
     
    value = NFontFaceDescriptor.FontStyleToFontVariant(fontStyle)
    public static ENFontVariant FontStyleToFontVariant( 
       ENFontStyle fontStyle
    )

    Parameters

    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