Click to return to the Component Development home page    
IDebugDocumentHelper::Set...     IDebugDocumentHost Interf...     IDebugDocumentHelper Inte...    
Web Workshop  |  Component Development

IDebugDocumentHelper::SetTextAttributes Method


Sets the attributes on a range of text.

Syntax

HRESULT SetTextAttributes(
    ULONG ulCharOffset,
    ULONG cChar,
    SOURCE_TEXT_ATTR *pstrTextAttr
);

Parameters

ulCharOffset
[in] Integer that specifies the offset, in characters, of the text range.
cChar
[in] Integer that specifies the number of characters in the text range.
pstrTextAttr
[out] Address of a constant that specifies the text attributes set.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.