-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.UI.Input.Inking.InkManager.SetDefaultDrawingAttributes(Windows.UI.Input.Inking.InkDrawingAttributes) |
winrt method |
xbox |
Note
For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.
Sets the default InkDrawingAttributes for all new InkStroke objects added to the InkStroke collection managed by the InkManager.
SetDefaultDrawingAttributes does not affect the current stroke, or any existing strokes.
The default attributes applied to a new ink stroke.
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