GetPointers method

Positions markup pointer at the start and end of the selection segment.

Syntax


HRESULT retVal = object.GetPointers(pIStart, pIEnd);

Parameters

pIStart [in]

Type: IMarkupPointer

Pointer to an IMarkupPointer interface that specifies the markup pointer to position at the beginning of the segment.

pIEnd [in]

Type: IMarkupPointer

Pointer to an IMarkupPointer interface that specifies the markup pointer to position at the end of the segment.

Return value

Type: HRESULT

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

Remarks

This method does not create markup pointer. The markup pointer given to this method must already have been created by calling IMarkupServices::CreateMarkupPointer.

 

 

Show: