Class OTZFontUtils
フォントの機能を提供します。
Inheritance
System.Object
OTZFontUtils
名前空間: OTZControls.Utilities
アセンブリ: OTZControls.dll
Syntax
public static class OTZFontUtils
メソッド
GetFont(Font, Int32)
指定したサイズのフォントを取得します。
宣言
public static Font GetFont(Font font, int dpi)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Drawing.Font | font | |
System.Int32 | dpi |
戻り値
型 | 説明 |
---|---|
System.Drawing.Font |
GetFont(String, Single, Int32)
指定したサイズのアイコンフォントを取得します。
宣言
public static Font GetFont(string fontName, float fontSize, int dpi)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.String | fontName | |
System.Single | fontSize | フォントサイズ(ポイント)。 |
System.Int32 | dpi |
戻り値
型 | 説明 |
---|---|
System.Drawing.Font |
GetFontPoint(Font, Int32)
指定したサイズのフォントを取得します。
宣言
public static Font GetFontPoint(Font font, int dpi)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Drawing.Font | font | |
System.Int32 | dpi |
戻り値
型 | 説明 |
---|---|
System.Drawing.Font |