Inserts an element between the target pointers.
Syntax
HRESULT InsertElement( IHTMLElement *pElementInsert, IMarkupPointer *pPointerStart, IMarkupPointer *pPointerFinish );
Parameters
- pElementInsert
- Address of an IHTMLElement interface that returns the element to insert.
- pPointerStart
- Address of an IMarkupPointer interface that specifies the start point of insertion.
- pPointerFinish
- Address of an IMarkupPointer interface that specifies the end point of insertion.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
InsertText, RemoveElement