IInkDisp::get_Strokes method (msinkaut.h)

Gets the collection of strokes that are contained in an object or used to create an object.

This property is read-only.

Syntax

HRESULT get_Strokes(
  IInkStrokes **Strokes
);

Parameters

Strokes

Return value

None

Remarks

The collection of strokes may be the copies of the strokes contained in an InkDisp object or the strokes that were used to create the object or collection.

Note  The Strokes property for the InkDisp object does not return the actual collection that the InkDisp object works with, but instead returns a copy. For example, this means that adding or removing strokes to this collection does not affect the InkDisp object's strokes; to add or remove strokes, use InkDisp methods such as AddStrokesAtRectangle, DeleteStroke, and DeleteStrokes. However, each stroke in the collection is a reference to the original IInkStrokeDisp object.
 

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

IInkDisp

InkDisp Class

InkStrokes Collection