Share via


MoveToPointer method

Moves this display pointer to the position of another display pointer.

Syntax

HRESULT retVal = object.MoveToPointer(pDispPointer);

Parameters

Return value

Type: HRESULT

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

Remarks

The display pointer specified by pDispPointer does not have to be in the same markup container as the one to be moved.