RemoveSegment method
Removes a segment from the editable selection.
Syntax
HRESULT retVal = object.RemoveSegment(pISegment);
Parameters
pISegment [in]
Type: ISegmentPointer 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.