Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Font Structure / Font Constructor / Font Constructor(Font,String)
The existing Font from which to create the new Font.
A string value indicates the face name of this Font.


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

    Parameters

    prototype
    The existing Font from which to create the new Font.
    name
    A string value indicates the face name of this Font.
    See Also