InkStrokeContainer.AddStroke(InkStroke) InkStrokeContainer.AddStroke(InkStroke) InkStrokeContainer.AddStroke(InkStroke) InkStrokeContainer.AddStroke(InkStroke) InkStrokeContainer.AddStroke(InkStroke) Method

Definition

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

An InkStroke cannot exist in more than one InkStrokeContainer. Call the Clone method to duplicate a stroke in another container.

public : void AddStroke(InkStroke stroke)
void AddStroke(InkStroke stroke) const;
public void AddStroke(InkStroke stroke)
Public Sub AddStroke(stroke As InkStroke)
inkStrokeContainer.addStroke(stroke);

Parameters

stroke
InkStroke InkStroke 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.

See also