RemoveSegment method

Removes a segment from the editable selection.

Syntax


HRESULT retVal = object.RemoveSegment(pISegment);

Parameters

pISegment [in]

Type: ISegment

Pointer to an ISegment interface that specifies the segment to remove.

Return value

Type: HRESULT

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

Remarks

The pISegment parameter can be an ISegment interface or an interface derived from ISegment, in particular IElementSegment.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft