Graphics::SetTextContrast メソッド (gdiplusgraphics.h)

Graphics::SetTextContrast メソッドは、この Graphics オブジェクトのコントラスト値を設定します。 コントラスト値は、アンチエイリアシング テキストに使用されます。

構文

Status SetTextContrast(
  [in] UINT contrast
);

パラメーター

[in] contrast

型: UINT

アンチエイリアシング テキストのコントラスト値を指定する UINT

戻り値

種類: 状態

メソッドが成功した場合は、 Status 列挙体の要素である Ok を返します。

メソッドが失敗した場合は、 Status 列挙体の他の要素のいずれかを返します。

要件

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