ホーム › Web.MsHtml › IHTMLDOMRange
IHTMLDOMRange
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 26
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_startContainer(IHTMLDOMNode** p) |
| 8 | HRESULT get_startOffset(INT* p) |
| 9 | HRESULT get_endContainer(IHTMLDOMNode** p) |
| 10 | HRESULT get_endOffset(INT* p) |
| 11 | HRESULT get_collapsed(VARIANT_BOOL* p) |
| 12 | HRESULT get_commonAncestorContainer(IHTMLDOMNode** p) |
| 13 | HRESULT setStart(IDispatch* refNode, INT offset) |
| 14 | HRESULT setEnd(IDispatch* refNode, INT offset) |
| 15 | HRESULT setStartBefore(IDispatch* refNode) |
| 16 | HRESULT setStartAfter(IDispatch* refNode) |
| 17 | HRESULT setEndBefore(IDispatch* refNode) |
| 18 | HRESULT setEndAfter(IDispatch* refNode) |
| 19 | HRESULT collapse(VARIANT_BOOL toStart) |
| 20 | HRESULT selectNode(IDispatch* refNode) |
| 21 | HRESULT selectNodeContents(IDispatch* refNode) |
| 22 | HRESULT compareBoundaryPoints(SHORT how, IDispatch* sourceRange, INT* compareResult) |
| 23 | HRESULT deleteContents() |
| 24 | HRESULT extractContents(IDispatch** ppDocumentFragment) |
| 25 | HRESULT cloneContents(IDispatch** ppDocumentFragment) |
| 26 | HRESULT insertNode(IDispatch* newNode) |
| 27 | HRESULT surroundContents(IDispatch* newParent) |
| 28 | HRESULT cloneRange(IHTMLDOMRange** ppClonedRange) |
| 29 | HRESULT toString(LPWSTR* pRangeString) |
| 30 | HRESULT detach() |
| 31 | HRESULT getClientRects(IHTMLRectCollection** ppRectCol) |
| 32 | HRESULT getBoundingClientRect(IHTMLRect** ppRect) |