Share via


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

文字書式の効果を取得します。

構文

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

パラメーター

[out] pValue

型: long*

次の文字書式値の組み合わせ。

tomAllCaps

tomBold

tomDisabled

tomEmboss

tomHidden

tomImprint

tomInlineObjectStart

tomItalic

tomLinkProtected

tomMathZone

tomMathZoneDisplay

tomMathZoneNoBuildUp

tomMathZoneOrdinary

tomOutline

tomProtected

tomRevised

tomShadow

tomSmallCaps

tomStrikeout

tomUnderline

tomInlineObjectStart フラグが設定されている場合は、GetInlineObject を呼び出して、より多くのインライン オブジェクト プロパティを使用できます。

[out] pMask

型: long*

範囲に対するこれらのフラグの違い。 値が 0 の場合は、プロパティが範囲内で同じであることを示します。 カーソルの場合、この値は常に 0 です。

戻り値

型: HRESULT

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

要件

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

こちらもご覧ください

ITextFont2

ITextFont2::SetEffects