ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Document Assembly / GrapeCity.ActiveReports.Document.Drawing Namespace / Font Class / Font Constructor / Font Constructor(Font,FontStyle)
The prototype.
The font style.

In This Topic
    Font Constructor(Font,FontStyle)
    In This Topic
    Initializes an instance of class Font.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal prototype As Font, _
       ByVal newStyle As FontStyle _
    )
    public Font( 
       Font prototype,
       FontStyle newStyle
    )

    Parameters

    prototype
    The prototype.
    newStyle
    The font style.
    Exceptions
    ExceptionDescription
    Occurs when prototype.size is less than or equal to 0.
    See Also