You can set the IInkStrokes collection more than once. Each time you set the IInkStrokes collection, the IInkRecognizerContext object is reset—any ink or results are removed—and then the new strokes are added.
The IInkStrokes collection can also be set to NULL, which also resets the IInkRecognizerContext object. When the IInkRecognizerContext is reset, it keeps any guides, factoids, and other properties which previously had been set on it.
To keep the Strokes property synchronized with an IInkDisp object, use the IInkDisp::InkAdded and IInkDisp::InkDeleted events to listen for strokes that should be added or removed from the IInkRecognizerContext object. This covers cases where strokes are added to, deleted from, clipped, or split within the IInkDisp object.
|Moving, scaling, or other transformations on strokes in the IInkDisp object do not generate InkAdded or InkDeleted events. Perform the same transformations on the strokes in the IInkRecognizerContext object to keep the Strokes property synchronized.|