IDWriteTextLayout::SetMaxWidth メソッド

レイアウトの最大の幅を設定します。

構文

virtual HRESULT SetMaxWidth(
    FLOAT  maxWidth
) = 0;

パラメーター

  • maxWidth
    レイアウト ボックスの最大の幅を示す値。

戻り値

メソッドが成功した場合は、S_OK が返されます。 それ以外の場合は、エラー コードが返されます。HRESULT.

要件

クライアントの最小要件

Windows 7, Windows Vista SP2 および Windows Vista 用のプラットフォーム更新プログラム

サーバーの最小要件

Windows Server 2008 R2, Windows Server 2008 SP2 および Windows Server 2008 用のプラットフォーム更新プログラム

ヘッダー

Dwrite.h

ライブラリ

Dwrite.lib

DLL

Dwrite.dll

参照

IDWriteTextLayout