[]
Initializes a new instance of a Font object.
public Font(string name, float sizeInPoints, FontStyle style)
Type | Name | Description |
---|---|---|
string | name | Font face. |
float | sizeInPoints | Font size in points. |
FontStyle | style | Font style attributes. |
Initializes a new instance of a Font object.
public Font(string name, float sizeInPoints)
Type | Name | Description |
---|---|---|
string | name | Font face. |
float | sizeInPoints | Font size in points. |
Initializes a new instance of a Font object from a other font.
public Font(Font font, FontStyle style)
Type | Name | Description |
---|---|---|
Font | font | The other font. |
FontStyle | style | Font style attributes. |
Initializes a new instance of a Font object from a stream containing raw font data.
public Font(FontStyle style, float sizeInPoints, Stream stream)
Type | Name | Description |
---|---|---|
FontStyle | style | Font style attributes. |
float | sizeInPoints | The font size in points. |
Stream | stream | The stream with raw font data. |
Initializes a new instance of a Font object.
public Font(FontStyle style, float sizeInPoints, FontSubSet subset)
Type | Name | Description |
---|---|---|
FontStyle | style | Font style attributes. |
float | sizeInPoints | The font size in points. |
FontSubSet | subset | The font subset object. |
Initializes a new instance of a Font object.
public Font(FontStyle style, float sizeInPoints, byte[] fontData)
Type | Name | Description |
---|---|---|
FontStyle | style | Font style attributes. |
float | sizeInPoints | The font size in points. |
byte[] | fontData | The raw font file data. |