Sets the attributes on a range of text, overriding other attributes on that text.

HRESULT SetTextAttributes(
   ULONG              ulCharOffset,
   ULONG              cChars,
   SOURCE_TEXT_ATTR*  pstaTextAttr
);

Parameters

ulCharOffset

[in] The location of the start of the text range.

cChars

[in] The number of characters in the range.

pstaTextAttr

[in] The source text attributes for the range of text.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also