Dela via


IInkStrokeContainer.AddStroke(InkStroke) Method

Definition

Adds an InkStroke object to the collection managed by the InkStrokeContainer.

public:
 void AddStroke(InkStroke ^ stroke);
void AddStroke(InkStroke const& stroke);
public void AddStroke(InkStroke stroke);
function addStroke(stroke)
Public Sub AddStroke (stroke As InkStroke)

Parameters

stroke
InkStroke

The ink stroke to be added.

stroke must be created by using the Clone method, or through a call to EndStroke or ProcessPointerUp. Empty or existing strokes are not valid.

Remarks

The StrokesCollected event is fired when ink strokes are processed ("wet" to "dry") on the UI thread.

Applies to

See also