Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Font Structure / Font Constructor / Font Constructor(Font,FontStyle)
The existing Font from which to create the new Font.
The FontStyle to apply to the new Font.


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

    Parameters

    prototype
    The existing Font from which to create the new Font.
    fontStyle
    The FontStyle to apply to the new Font.
    See Also