ホーム › UI.Controls.RichEdit › ITextRange2
ITextRange2
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 40
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 68 | HRESULT GetCch(INT* pcch) |
| 69 | HRESULT GetCells(IUnknown** ppCells) |
| 70 | HRESULT GetColumn(IUnknown** ppColumn) |
| 71 | HRESULT GetCount(INT* pCount) |
| 72 | HRESULT GetDuplicate2(ITextRange2** ppRange) |
| 73 | HRESULT GetFont2(ITextFont2** ppFont) |
| 74 | HRESULT SetFont2(ITextFont2* pFont) |
| 75 | HRESULT GetFormattedText2(ITextRange2** ppRange) |
| 76 | HRESULT SetFormattedText2(ITextRange2* pRange) |
| 77 | HRESULT GetGravity(INT* pValue) |
| 78 | HRESULT SetGravity(INT Value) |
| 79 | HRESULT GetPara2(ITextPara2** ppPara) |
| 80 | HRESULT SetPara2(ITextPara2* pPara) |
| 81 | HRESULT GetRow(ITextRow** ppRow) |
| 82 | HRESULT GetStartPara(INT* pValue) |
| 83 | HRESULT GetTable(IUnknown** ppTable) |
| 84 | HRESULT GetURL(LPWSTR* pbstr) |
| 85 | HRESULT SetURL(LPWSTR bstr) |
| 86 | HRESULT AddSubrange(INT cp1, INT cp2, INT Activate) |
| 87 | HRESULT BuildUpMath(INT Flags) |
| 88 | HRESULT DeleteSubrange(INT cpFirst, INT cpLim) |
| 89 | HRESULT Find(ITextRange2* pRange, INT Count, INT Flags, INT* pDelta) |
| 90 | HRESULT GetChar2(INT* pChar, INT Offset) |
| 91 | HRESULT GetDropCap(INT* pcLine, INT* pPosition) |
| 92 | HRESULT GetInlineObject(INT* pType, INT* pAlign, INT* pChar, INT* pChar1, INT* pChar2, INT* pCount, INT* pTeXStyle, INT* pcCol, INT* pLevel) |
| 93 | HRESULT GetProperty(INT Type, INT* pValue) |
| 94 | HRESULT GetRect(INT Type, INT* pLeft, INT* pTop, INT* pRight, INT* pBottom, INT* pHit) |
| 95 | HRESULT GetSubrange(INT iSubrange, INT* pcpFirst, INT* pcpLim) |
| 96 | HRESULT GetText2(INT Flags, LPWSTR* pbstr) |
| 97 | HRESULT HexToUnicode() |
| 98 | HRESULT InsertTable(INT cCol, INT cRow, INT AutoFit) |
| 99 | HRESULT Linearize(INT Flags) |
| 100 | HRESULT SetActiveSubrange(INT cpAnchor, INT cpActive) |
| 101 | HRESULT SetDropCap(INT cLine, INT Position) |
| 102 | HRESULT SetProperty(INT Type, INT Value) |
| 103 | HRESULT SetText2(INT Flags, LPWSTR bstr) |
| 104 | HRESULT UnicodeToHex() |
| 105 | HRESULT SetInlineObject(INT Type, INT Align, INT Char, INT Char1, INT Char2, INT Count, INT TeXStyle, INT cCol) |
| 106 | HRESULT GetMathFunctionType(LPWSTR bstr, INT* pValue) |
| 107 | HRESULT InsertImage(INT width, INT height, INT ascent, INT Type, LPWSTR bstrAltText, IStream* pStream) |