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


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

    Parameters

    prototype
    The existing Font from which to create the new Font.
    verTextAlign
    A VerticalTextAlignment value indicates the vertical alignment of this Font.
    See Also