IOpenServiceActivityHTMLInput::GetHTMLSelection Method
.gif)
Note: This documentation is preliminary and is subject to change.
Retrieves the user's selected text range.
Syntax
HRESULT GetHTMLSelection( IHTMLTxtRange **ppSelection );
Parameters
- ppSelection
[out] An IHTMLTxtRange interface that contains the retrieved range.
Return Value
Returns one of the following values.
S_OK The operation completed successfully. E_INVALIDARG Content type is not ActivityContentSelection.
Remarks
This value is available only for selection content types.
See Also