ホーム › UI.TabletPC › IInkStrokes
IInkStrokes
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 20
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_Count(INT* Count) |
| 8 | HRESULT get__NewEnum(IUnknown** _NewEnum) |
| 9 | HRESULT get_Ink(IInkDisp** Ink) |
| 10 | HRESULT get_RecognitionResult(IInkRecognitionResult** RecognitionResult) |
| 11 | HRESULT ToString(LPWSTR* ToString) |
| 12 | HRESULT Item(INT Index, IInkStrokeDisp** Stroke) |
| 13 | HRESULT Add(IInkStrokeDisp* InkStroke) |
| 14 | HRESULT AddStrokes(IInkStrokes* InkStrokes) |
| 15 | HRESULT Remove(IInkStrokeDisp* InkStroke) |
| 16 | HRESULT RemoveStrokes(IInkStrokes* InkStrokes) |
| 17 | HRESULT ModifyDrawingAttributes(IInkDrawingAttributes* DrawAttrs) |
| 18 | HRESULT GetBoundingBox(InkBoundingBoxMode BoundingBoxMode, IInkRectangle** BoundingBox) |
| 19 | HRESULT Transform(IInkTransform* Transform, VARIANT_BOOL ApplyOnPenWidth) |
| 20 | HRESULT ScaleToRectangle(IInkRectangle* Rectangle) |
| 21 | HRESULT Move(FLOAT HorizontalComponent, FLOAT VerticalComponent) |
| 22 | HRESULT Rotate(FLOAT Degrees, FLOAT x, FLOAT y) |
| 23 | HRESULT Shear(FLOAT HorizontalMultiplier, FLOAT VerticalMultiplier) |
| 24 | HRESULT ScaleTransform(FLOAT HorizontalMultiplier, FLOAT VerticalMultiplier) |
| 25 | HRESULT Clip(IInkRectangle* Rectangle) |
| 26 | HRESULT RemoveRecognitionResult() |