Font Constructor(Color,FontStyle)
Initializes a new instance of the
Font struct that uses the specified existing
Font and
Color value.
'Declaration
Public Function New( _
ByVal As Color, _
ByVal As FontStyle _
)
'Usage
Dim color As Color
Dim fontStyle As FontStyle
Dim instance As New Font(color, fontStyle)
Parameters
- color
- A Color value indicates the color of font color.
- fontStyle
- The FontStyle to apply to the new Font.