Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IInkStrokes::Add method (msinkaut.h)
Adds an IInkStrokeDisp object or InkStrokes collection to an existing InkStrokes collection.
Syntax
HRESULT Add(
[in] IInkStrokeDisp *InkStroke
);
Parameters
[in] InkStroke
The stroke to add to the InkStrokes collection.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
Cannot allocate Stroke handler helper object. |
|
An exception occurred inside the method. |
|
IInkStrokeDisp* does not point to a compatible IInkStrokeDisp object. |
|
The InkDisp object of the IInkStrokeDisp being added does not match the InkDisp object of the InkStrokes collection. |
Remarks
Note The stroke must already exist within the InkDisp object, and cannot belong to another InkDisp object. Also, this method does not copy or otherwise alter the InkDisp object, but merely adds this stroke to the collection.
Use this method to add one stroke to an InkStrokes collection. To add one collection of strokes to another, use the AddStrokes method.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | msinkaut.h |
See also
Feedback
Was this page helpful?
