Ribbon for WinForms | ComponentOne
C1.Util Namespace / FontSubSet.TextFormat Class / CultureToLanguage Method

In This Topic
    CultureToLanguage Method (FontSubSet.TextFormat)
    In This Topic
    Returns the Language value corresponding to a given System.Globalization.CultureInfo.
    Syntax
    'Declaration
     
    
    Public Shared Function CultureToLanguage( _
       ByVal culture As CultureInfo _
    ) As FontSubSet.Language
    public static FontSubSet.Language CultureToLanguage( 
       CultureInfo culture
    )

    Parameters

    culture

    Return Value

    The corresponding value, or the Language.Default if a specific value could not be found.
    See Also