SPThemeInfo.GetThemeFontByName method
Gets the theme font for the specified name and language code.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetThemeFontByName ( _
name As String, _
lcid As UInteger _
) As String
'Usage
Dim instance As SPThemeInfo
Dim name As String
Dim lcid As UInteger
Dim returnValue As String
returnValue = instance.GetThemeFontByName(name, _
lcid)
public string GetThemeFontByName(
string name,
uint lcid
)
Parameters
name
Type: System.StringThe name of the font slot.
lcid
Type: System.UInt32The language code required.
Return value
Type: System.String
The string name of the font, or a null reference (Nothing in Visual Basic) if no such font slot exists.