InkStrokeBuilder.SetDefaultDrawingAttributes | setDefaultDrawingAttributes method

Applies to Windows only

Sets the default InkDrawingAttributes for all new InkStroke objects, after EndStroke is called for the current stroke.

SetDefaultDrawingAttributes does not affect the current or existing strokes.

Syntax


inkStrokeBuilder.setDefaultDrawingAttributes(drawingAttributes);

Parameters

drawingAttributes

Type: InkDrawingAttributes

The default attributes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.winmd

See also

InkStrokeBuilder
Responding to pen and stylus input
Ink App sample

 

 

Show:
© 2014 Microsoft