ThemeFont.GetFontForScript Method
Gets the font associated to a language.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
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)
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.