Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Font Structure / Font Constructor / Font Constructor(Font,ThemeFont)
The existing Font from which to create the new Font.
A ThemeFont value indicates the theme font.


In This Topic
    Font Constructor(Font,ThemeFont)
    In This Topic
    Initializes a new instance of the Font struct that uses the specified existing Font and new theme font.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal prototype As Font, _
       ByVal themeFont As ThemeFont _
    )
    'Usage
     
    
    Dim prototype As Font
    Dim themeFont As ThemeFont
     
    Dim instance As New Font(prototype, themeFont)
    public Font( 
       Font prototype,
       ThemeFont themeFont
    )

    Parameters

    prototype
    The existing Font from which to create the new Font.
    themeFont
    A ThemeFont value indicates the theme font.
    See Also