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
S_OK
Success.
E_POINTER
A parameter contained an invalid pointer.
E_OUTOFMEMORY
Cannot allocate Stroke handler helper object.
E_INK_EXCEPTION
An exception occurred inside the method.
E_INK_INCOMPATIBLE_OBJECT
IInkStrokes* does not point to a compatible InkDisp object.
E_INK_MISMATCHED_INK_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.
E_UNEXPECTED
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

See also

Add Method [InkStrokes Collection]

IInkStrokes

InkStrokes Collection