ThemeFont.GetFontForScript method
NOTE: This API is now obsolete.
Gets the font associated to a language.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use GetFontFaceForScript instead")> _
Public Function GetFontForScript ( _
script As String _
) As String
'Usage
Dim instance As ThemeFont
Dim script As String
Dim returnValue As String
returnValue = instance.GetFontForScript(script)
[ObsoleteAttribute("Use GetFontFaceForScript instead")]
public string GetFontForScript(
string script
)
Parameters
script
Type: System.StringThe language to retrieve used to retrieve the font.
Return value
Type: System.String
A string that provides the name of the font for the associated language.