ITextPara2::GetEffects メソッド (tom.h)

段落書式の効果を取得します。

構文

HRESULT GetEffects(
  [out] long *pValue,
  [out] long *pMask
);

パラメーター

[out] pValue

種類: long*

段落の効果。 この値には、次のフラグの組み合わせを指定できます。

tomParaEffectRTL

tomParaEffectKeep

tomParaEffectKeepNext

tomParaEffectPageBreakBefore

tomParaEffectNoLineNumber

tomParaEffectNoWidowControl

tomParaEffectDoNotHyphen

tomParaEffectSideBySide

tomParaEffectCollapsed

tomParaEffectOutlineLevel

tomParaEffectBox

tomParaEffectTableRowDelimiter

tomParaEffectTable

[out] pMask

種類: long*

範囲に対するフラグの違い。 値 1 は、対応する効果が範囲内で同じであることを示します。 挿入ポイントの場合、定義されたすべての効果の値は 1 になります。

戻り値

種類: HRESULT

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

注釈

tomTable フラグが設定されている場合は、ITextRange2::GetTable メソッドを使用して、より多くのテーブル プロパティを取得できます。

要件

要件
サポートされている最小のクライアント Windows 8 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー tom.h
[DLL] Msftedit.dll

こちらもご覧ください

ITextPara2

ITextPara2::SetEffects