IInkStrokes::AddStrokes method (msinkaut.h)
Adds a Strokes collection to an existing Strokes collection.
Syntax
HRESULT AddStrokes(
[in] IInkStrokes *InkStrokes
);
Parameters
[in] InkStrokes
The collection of strokes to add to the collection of strokes.
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. |
|
IInkStrokes* does not point to a compatible InkDisp object. |
|
The InkDisp object of the InkStrokes collection that is being added must match the InkDisp object of the InkStrokes collection to which it is being added. |
|
Unexpected parameter or property type. |
Remarks
Note This collection must already exist within the InkDisp object and cannot belong to another InkDisp object. Also, this does not copy or otherwise alter the InkDisp object, but merely adds this collection of strokes to the collection.
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 |
Library | InkObj.dll |