Delen via


InkDrawingAttributes Constructor

Definition

Creates a new InkDrawingAttributes object that is used to specify InkStroke attributes.

public:
 InkDrawingAttributes();
 InkDrawingAttributes();
public InkDrawingAttributes();
function InkDrawingAttributes()
Public Sub New ()

Examples

The following example demonstrates how to create an InkDrawingAttributes object and set a default drawing attribute for all strokes managed by an InkManager object (inkManager).

var inkManager = new Windows.UI.Input.Inking.InkManager();
var drawingAttributes = new Windows.UI.Input.Inking.InkDrawingAttributes();
drawingAttributes.fitToCurve = true;
inkManager.setDefaultDrawingAttributes(drawingAttributes);

Applies to

See also