/// <summary> /// Creates an instance of the IMarkupPointer object with an initial position /// adjacent to the specified HTML element. /// </summary> /// <param name="e"></param> /// <param name="eAdj"></param> /// <returns></returns> public MarkupPointer CreateMarkupPointer(IHTMLElement e, _ELEMENT_ADJACENCY eAdj) { MarkupPointer pointer = CreateMarkupPointer(); pointer.MoveAdjacentToElement(e, eAdj); return pointer; }
/// <summary> /// Moves the pointer adjacent to an element. /// </summary> /// <param name="element"></param> /// <param name="eAdj"></param> public void MoveAdjacentToElement(IHTMLElement element, _ELEMENT_ADJACENCY eAdj) { PointerRaw.MoveAdjacentToElement(element, eAdj); }