MoveToSelectionAnchor method

Moves a markup pointer to the location of the current selection anchor.

Syntax

HRESULT retVal = object.MoveToSelectionAnchor(pIStartAnchor);

Parameters

  • pIStartAnchor [in]
    Type: [IMarkupPointer](aa703614(v=vs.85).md)

    A pointer to an IMarkupPointer interface to move to the location of the selection anchor.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.