FontInfo(String, Single, FontfaceStyle) Constructor
Initializes a new
FontInfo using a specified size and style.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public FontInfo(
string name,
float size,
FontfaceStyle style
)
Public Sub New (
name As String,
size As Single,
style As FontfaceStyle
)
public:
FontInfo(
String^ name,
float size,
FontfaceStyle style
)
new :
name : string *
size : float32 *
style : FontfaceStyle -> FontInfo
Parameters
- name String
- A string representation of the IFontFamily for the new FontInfo.
- size Single
- The em-size, in points, of the new font.
- style FontfaceStyle
- The FontfaceStyle of the new font.