This interface, along with the IMarkupPointer interface, allows the contents of the page to be programmatically manipulated from your C++ program.
IMarkupServices Methods
BeginUndoUnit Marks the beginning of a reversible unit of work. CloneElement Creates a duplicate of an element. Copy Copies the specified text between markers to a target location. CreateElement Creates an element with the specified tag. CreateMarkupContainer Creates an instance of the IMarkupContainer object. CreateMarkupPointer Creates an instance of the IMarkupPointer object. EndUndoUnit Marks the end of a revesible unit of work. GetElementTagId Retrieves an element's tag ID. GetNameForTagID Retrieves the name of the element, given its tag ID. GetTagIDForName Retrieves the tag ID of the element, given its name. InsertElement Inserts an element between the target pointers. InsertText Inserts text at the given pointer. Move Moves content between two pointers to a destination specified by a third pointer. MovePointersToRange Positions pointers at the edges of an existing range. MoveRangeToPointers Positions a range’s edges at the positions of two pointers. ParseGlobal Creates an instance of the element object for the specified tag. ParseString Creates an IMarkupContainer that contains the results of parsing the contents of a string. Remove Removes content between two pointers. RemoveElement Removes the given element without removing the content contained within it.
Interface Information
Implementation System (Mshtml.dll) Inherits from None Header and IDL files Mshtml.h, Mshtml.idl Minimum availability Internet Explorer 5 Minimum operating systems Windows 95, Windows NT 4.0