Documents for PDF .NET Edition
GrapeCity.Documents.Common Assembly / GrapeCity.Documents.Text Namespace / TextFormat Class / CultureToLanguage Method

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

    Parameters

    culture

    Return Value

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