Version

Font Constructor(String,Single,FontStyle,Stream)

Initializes a new instance of the Font class.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As System.String, _
   ByVal size As System.Single, _
   ByVal style As FontStyle, _
   ByVal stream As System.IO.Stream _
)
public Font( 
   System.string name,
   System.float size,
   FontStyle style,
   System.IO.Stream stream
)

Parameters

name
The name of the font.
size
The size of the font, in points.
style
The style with which the font should be rendered.
stream
A stream containing the font information.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub