MoveSegmentToPointers method

Redefines a highlight segment and its style.

Syntax


HRESULT retVal = object.MoveSegmentToPointers(pISegment, pDispPointerStart, pDispPointerEnd);

Parameters

pISegment [in]

Type: IHighlightSegment

Pointer to an IHighlightSegment interface to redefine.

pDispPointerStart [in]

Type: IDisplayPointer

Pointer to an IDisplayPointer interface for the new start point of the highlight segment.

pDispPointerEnd [in]

Type: IDisplayPointer

Pointer to an IDisplayPointer interface for the new end point of the highlight segment.

Return value

Type: HRESULT

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

 

 

Show: