Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Core Namespace / ThemeFonts Class / SetFont(IWorkbook,String) Method
The name of font.


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

    Parameters

    workbook
    typeface
    The name of font.

    Return Value

    A string value represents the display font.
    See Also