InkDrawingAttributes.ModelerAttributes Property


Gets an instance of a ModelerAttributes object for accessing modeler properties of an ink stroke.

 property InkModelerAttributes ^ ModelerAttributes { InkModelerAttributes ^ get(); };
InkModelerAttributes ModelerAttributes();
public InkModelerAttributes ModelerAttributes { get; }
var inkModelerAttributes = inkDrawingAttributes.modelerAttributes;
Public ReadOnly Property ModelerAttributes As InkModelerAttributes

Property Value

A ModelerAttributes object used to process ink stroke rendering properties.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)


Here, we show how increasing latency when rendering ink strokes can be used to reduce possible stroke correction artifacts due to incorrect prediction. This example reduces the default forward-looking prediction time from 15ms to 8ms.

public sealed partial class AdjustPrediction : Page
    public AdjustPrediction()
        var inkPresenter = inkCanvas.InkPresenter;
        InkDrawingAttributes drawingAttributes =

        InkModelingAttributes modelingAttributes = drawingAttributes.ModelingAttributes;
        modelingAttributes.PredictionTime = TimeSpan.FromMilliseconds(8);

Applies to

See also