Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Core Namespace / ThemeFonts Class / SetFont Method
The culture information.
The name of font.


In This Topic
SetFont Method
In This Topic
Sets the display font for the specified System.Globalization.CultureInfo.
Syntax
'Declaration
 
Public Sub SetFont( _
   ByVal cultureInfo As CultureInfo, _
   ByVal typeface As String _
) 
 
'Usage
 
Dim instance As ThemeFonts
Dim cultureInfo As CultureInfo
Dim typeface As String
 
instance.SetFont(cultureInfo, typeface)

Parameters

cultureInfo
The culture information.
typeface
The name of font.

Return Value

A string value represents the display font.
See Also