IDWriteTextFormat::GetFontCollection メソッド (dwrite.h)

現在のフォント コレクションを取得します。

構文

HRESULT GetFontCollection(
  [out] IDWriteFontCollection **fontCollection
);

パラメーター

[out] fontCollection

型: IDWriteFontCollection**

このメソッドが戻るときに、 には、現在のテキストに使用されているフォント コレクションへのポインターのアドレスが含まれます。

戻り値

型: HRESULT

このメソッドは、成功すると S_OK を返します。 そうでない場合は、HRESULT エラー コードを返します。

要件

   
サポートされている最小のクライアント Windows 7、Windows Vista SP2 と Windows Vista 用プラットフォーム更新プログラム [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー Windows Server 2008 R2、Windows Server 2008 SP2 および Windows Server 2008 用プラットフォーム更新プログラム [デスクトップ アプリ |UWP アプリ]
対象プラットフォーム Windows
ヘッダー dwrite.h
Library Dwrite.lib
[DLL] Dwrite.dll

関連項目

IDWriteTextFormat