Documents for PDF, .NET Edition Documentation
CultureToLanguage Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Text Namespace > TextFormat Class : CultureToLanguage Method
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

Reference

TextFormat Class
TextFormat Members