FontFamily::FontFamily(constWCHAR*,constFontCollection*) メソッド (gdiplusheaders.h)

指定したフォント ファミリに基づいて FontFamily::FontFamily オブジェクトを作成します。

構文

void FontFamily(
  [in] const WCHAR          *name,
  [in] const FontCollection *fontCollection
);

パラメーター

[in] name

型: const WCHAR*

フォント ファミリの名前。 たとえば、Arial.ttf は Arial フォント ファミリの名前です。

[in] fontCollection

型: const FontCollection*

省略可能。 フォント ファミリが属するコレクションを指定する FontCollection オブジェクトへのポインター。 FontCollectionNULL の場合、このフォント ファミリはコレクションの一部ではありません。 既定値は NULL です。

戻り値

なし

必要条件

   
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdiplusheaders.h (Gdiplus.h を含む)
Library Gdiplus.lib
[DLL] Gdiplus.dll

関連項目

FontFamily

InstalledFontCollection

PrivateFontCollection

テキストとフォントの使用