Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a highlighted section of text, corresponding to the caller's TextPatternRangeEndpoint_Start and TextPatternRangeEndpoint_End endpoints, from the collection of highlighted text in a text container that supports multiple, disjoint selections.
Syntax
HRESULT RemoveFromSelection(VOID);
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The text insertion point will move to the area of the new selection.
Providing a degenerate text range will move the text insertion point.
See Also