Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 2.57 KB

iinkstrokecontainer_addstroke_367978361.md

File metadata and controls

30 lines (20 loc) · 2.57 KB
-api-id -api-type -api-device-family-note
M:Windows.UI.Input.Inking.IInkStrokeContainer.AddStroke(Windows.UI.Input.Inking.InkStroke)
winrt method
xbox

Windows.UI.Input.Inking.IInkStrokeContainer.AddStroke

-description

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

-parameters

-param stroke

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.

-examples

-see-also

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