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


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

    Parameters

    fontVariant
    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