InkStrokeContainer.AddStrokes(IIterable<InkStroke>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- InkStroke
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample