ITfContextRenderingMarkup::GetRenderingMarkup method

The ITfContextRenderingMarkup::GetRenderingMarkup method retrieves an enumerator of the rendering markups for the given range.

Syntax

HRESULT GetRenderingMarkup(
  [in]  TfEditCookie           ec,
  [in]  DWORD                  dwFlags,
  [in]  ITfRange               *pRangeCover,
  [out] IEnumTfRenderingMarkup **ppEnum
);

Parameters

ec [in]

[in] A read only edit cookie to access the context.

dwFlags [in]

[in]

Value Meaning
TF_GRM_INCLUDE_PROPERTY
If this bit is 1, the enumerator will include the GUID_PROP_ATTRIBUTE property.

pRangeCover [in]

[in] A pointer to an ITfRange interface of the range to enumerate the rendering markups.

ppEnum [out]

[out] A pointer to retrieve IEnumTfRenderingMarkup interface pointer.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

Remarks

Note

This method is not currently in the public header files. To use this API, you must MIDL-compile the prototype.