Font Constructor(Font,FontStyle)
Initializes a new instance of the
Font struct that uses the specified existing
Font and
FontStyle enumeration.
'Declaration
Public Function New( _
ByVal As Font, _
ByVal As FontStyle _
)
'Usage
Dim prototype As Font
Dim fontStyle As FontStyle
Dim instance As New Font(prototype, fontStyle)
Parameters
- prototype
- The existing Font from which to create the new Font.
- fontStyle
- The FontStyle to apply to the new Font.