Font.Font
Font(Font, FontStyle)
新しいFont指定された既存のFontとFontStyle列挙.
public Font(Font prototype, FontStyle newStyle)
例外
| 例外 | 調子 |
|---|
| ArgumentNullException | prototype無効である。 |
関連項目
Font(string, float)
新しいFont指定サイズを使用。文字セットはDefault、グラフィックスユニットをPoint、フォント スタイルRegular .
public Font(string fontName, float emSize)
| パラメータ | タイプ | 説明 |
|---|
| fontName | String | の文字列表現Font名前。 |
| emSize | Single | 新しいフォントの em サイズ (ポイント単位)。 |
例外
| 例外 | 調子 |
|---|
| ArgumentOutOfRangeException | emSizeが 0 以下であるか、無限に評価されるか、有効な数値ではありません。 |
| ArgumentNullException | fontName無効である。 |
関連項目
Font(string, float, FontStyle)
新しいFont指定されたサイズとスタイルを使用します。文字セットはDefault、グラフィックスユニットをPoint .
public Font(string fontName, float emSize, FontStyle style)
| パラメータ | タイプ | 説明 |
|---|
| fontName | String | の文字列表現Font名前。 |
| emSize | Single | 新しいフォントの em サイズ (ポイント単位)。 |
| style | FontStyle | のFontStyle新しいフォントの。 |
例外
| 例外 | 調子 |
|---|
| ArgumentOutOfRangeException | emSizeが 0 以下であるか、無限に評価されるか、有効な数値ではありません。 |
| ArgumentNullException | fontName無効である。 |
関連項目
Font(string, float, GraphicsUnit)
新しいFont指定されたサイズと単位を使用します。文字セットはDefault、スタイルはに設定されていますRegular .
public Font(string fontName, float emSize, GraphicsUnit unit)
| パラメータ | タイプ | 説明 |
|---|
| fontName | String | の文字列表現Font名前。 |
| emSize | Single | によって指定された単位での新しいフォントの全角サイズ。unitパラメータ。 |
| unit | GraphicsUnit | のGraphicsUnit新しいフォントの。 |
例外
| 例外 | 調子 |
|---|
| ArgumentOutOfRangeException | emSizeが 0 以下であるか、無限に評価されるか、有効な数値ではありません。 |
| ArgumentNullException | fontName無効である。 |
関連項目
Font(string, float, FontStyle, GraphicsUnit, CharacterSet)
新しいFont指定されたサイズ、スタイル、単位、および文字セットを使用します。
public Font(string fontName, float emSize, FontStyle style, GraphicsUnit unit,
CharacterSet characterSet)
| パラメータ | タイプ | 説明 |
|---|
| fontName | String | の文字列表現Font名前。 |
| emSize | Single | によって指定された単位での新しいフォントの全角サイズ。unitパラメータ。 |
| style | FontStyle | のFontStyle新しいフォントの。 |
| unit | GraphicsUnit | のGraphicsUnit新しいフォントの。 |
| characterSet | CharacterSet | このフォントに使用する文字セット。 |
例外
| 例外 | 調子 |
|---|
| ArgumentOutOfRangeException | emSizeが 0 以下であるか、無限に評価されるか、有効な数値ではありません。 |
| ArgumentNullException | fontName無効である。 |
関連項目
Font(string, float, FontStyle, GraphicsUnit)
新しいFont指定されたサイズ、スタイル、および単位を使用します。
public Font(string fontName, float emSize, FontStyle style, GraphicsUnit unit)
| パラメータ | タイプ | 説明 |
|---|
| fontName | String | の文字列表現Font名前。 |
| emSize | Single | によって指定された単位での新しいフォントの全角サイズ。unitパラメータ。 |
| style | FontStyle | のFontStyle新しいフォントの。 |
| unit | GraphicsUnit | のGraphicsUnit新しいフォントの。 |
例外
| 例外 | 調子 |
|---|
| ArgumentOutOfRangeException | emSizeが 0 以下であるか、無限に評価されるか、有効な数値ではありません。 |
| ArgumentNullException | fontName無効である。 |
関連項目