Share via


StringFormat::SetFormatFlags メソッド (gdiplusstringformat.h)

StringFormat::SetFormatFlags メソッドは、この StringFormat オブジェクトの書式フラグを設定します。 書式フラグは 、StringFormat オブジェクトのほとんどの特性を決定します。

構文

Status SetFormatFlags(
  [in] INT flags
);

パラメーター

[in] flags

型: INT

StringFormat オブジェクトのほとんどの特性を制御する書式フラグを指定する 32 ビット値。 フラグは、StringFormatFlags 列挙体の要素にビットごとの OR を適用することによって設定されます。

戻り値

種類: 状態

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

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

要件

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

関連項目

状態

StringFormat