IMarkupServices::MovePointersToRange Method

Positions pointers at the edges of an existing range.

Syntax


HRESULT MovePointersToRange(
    IHTMLTxtRange *pIRange,
    IMarkupPointer *pPointerStart,
    IMarkupPointer *pPointerFinish
);

Parameters

pIRange
[in] Pointer to an IHTMLTxtRange interface that returns the text range to move to.
pPointerStart
[in] Pointer to an IMarkupPointer interface that returns the start point of the range.
pPointerFinish
[in] Pointer to an IMarkupPointer interface that returns the end point of the range.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IMarkupServices::MoveRangeToPointers
Show: