Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Font Structure / Font Constructor / Font Constructor(Font,Color)
The existing Font from which to create the new Font.
A Color value indicates the color of font color.


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

    Parameters

    prototype
    The existing Font from which to create the new Font.
    color
    A Color value indicates the color of font color.
    See Also