-api-id | -api-type | -api-device-family-note |
---|---|---|
T:Windows.UI.Input.Inking.InkStrokeContainer |
winrt class |
xbox |
Provides properties and methods to store and manage the collection of InkStroke objects rendered by the InkPresenter.
Modifications made to any of the ink strokes in the stroke container are immediately rendered to the drawing surface associated with the InkPresenter.
For ink recognition, use an InkRecognizerContainer object.
The StrokesCollected event is fired when ink strokes are processed ("wet" to "dry") on the UI thread.
Note
This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).
Windows version | SDK version | Value added |
---|---|---|
1703 | 15063 | GetStrokeById |
1703 | 15063 | SaveAsync(IOutputStream,InkPersistenceFormat) |
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