指定した GDI LOGFONT 構造体から Font オブジェクトを作成します。
Overloads Public Shared Function FromLogFont( _
ByVal lf As Object, _ ByVal hdc As IntPtr _) As Font
[C#]
public static Font FromLogFont(objectlf,IntPtrhdc);
[C++]
public: static Font* FromLogFont(Object* lf,IntPtrhdc);
[JScript]
public static function FromLogFont(
lf : Object,hdc : IntPtr) : Font;
パラメータ
- lf
Font オブジェクトの作成元となる GDI LOGFONT 構造体を表す Object オブジェクト。 - hdc
lf 構造体についての追加情報を格納しているデバイス コンテキストを識別するハンドル。
戻り値
このメソッドが作成する Font オブジェクト。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
Font クラス | Font メンバ | System.Drawing 名前空間 | Font.FromLogFont オーバーロードの一覧