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

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.

See also

Reference

SPThemeInfo class

SPThemeInfo members

Microsoft.SharePoint namespace