Share via


InkStrokeContainer.AddStrokes(IIterable<InkStroke>) Method

Definition

Adds one or more ink strokes 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:
 virtual void AddStrokes(IIterable<InkStroke ^> ^ strokes) = AddStrokes;
void AddStrokes(IIterable<InkStroke> const& strokes);
public void AddStrokes(IEnumerable<InkStroke> strokes);
function addStrokes(strokes)
Public Sub AddStrokes (strokes As IEnumerable(Of InkStroke))

Parameters

strokes

IIterable<InkStroke>

IEnumerable<InkStroke>

The ink strokes to be added as a collection of InkStroke objects.Each stroke must be created using the Clone method, or through a call to EndStroke or ProcessPointerUp. Empty or existing strokes are not valid.

Applies to

See also