ThemeFont.GetFontForLanguage method

NOTE: This API is now obsolete.

Gets the font associated with the specified language.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use GetFontFaceForLanguage instead")> _
Public Function GetFontForLanguage ( _
    lcid As UInteger _
) As String
'Usage
Dim instance As ThemeFont
Dim lcid As UInteger
Dim returnValue As String

returnValue = instance.GetFontForLanguage(lcid)
[ObsoleteAttribute("Use GetFontFaceForLanguage instead")]
public string GetFontForLanguage(
    uint lcid
)

Parameters

  • lcid
    Type: System.UInt32

    The language with which the font is associated.

Return value

Type: System.String
The font associated with the language.

Remarks

If there is no font associated with the language, this method returns ["Latn"].

See also

Reference

ThemeFont class

ThemeFont members

Microsoft.SharePoint.Utilities namespace