OnSelectedElementExit method
Called by the editor when an element in the current editable selection is removed from the document.
Syntax
HRESULT retVal = object.OnSelectedElementExit(pIElementStart, pIElementEnd, pIElementContentStart, pIElementContentEnd);
Parameters
- pIElementStart [in]
-
Type: IMarkupPointer
Pointer to an IMarkupPointer interface specifying the point just before the element's opening tag.
- pIElementEnd [in]
-
Type: IMarkupPointer
Pointer to an IMarkupPointer interface specifying the point just after the element's closing tag.
- pIElementContentStart [in]
-
Type: IMarkupPointer
Pointer to an IMarkupPointer interface specifying the point just after the element's opening tag.
- pIElementContentEnd [in]
-
Type: IMarkupPointer
Pointer to an IMarkupPointer interface specifying the point just before the element's closing tag.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Use this method to update the selection when an element in the current selection is removed from the document.