InkPresenter.CopyDefaultDrawingAttributes 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.
Retrieves the InkDrawingAttributes used by the InkPresenter when rendering a new InkStroke on an InkCanvas control.
This method is used in conjunction with UpdateDefaultDrawingAttributes to set drawing attributes at run time.
public:
virtual InkDrawingAttributes ^ CopyDefaultDrawingAttributes() = CopyDefaultDrawingAttributes;
InkDrawingAttributes CopyDefaultDrawingAttributes();
public InkDrawingAttributes CopyDefaultDrawingAttributes();
function copyDefaultDrawingAttributes()
Public Function CopyDefaultDrawingAttributes () As InkDrawingAttributes
Returns
The drawing attributes applied to a new ink stroke.
Remarks
This method does not return the attributes of existing, or currently drawing, ink strokes.
Applies to
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