InkModelerAttributes.PredictionTime Property
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.
Gets or sets the amount of time into the future used to predict the expected location of the input pointer.
public:
property TimeSpan PredictionTime { TimeSpan get(); void set(TimeSpan value); };
TimeSpan PredictionTime();
void PredictionTime(TimeSpan value);
public System.TimeSpan PredictionTime { get; set; }
var timeSpan = inkModelerAttributes.predictionTime;
inkModelerAttributes.predictionTime = timeSpan;
Public Property PredictionTime As TimeSpan
Property Value
The time in milliseconds. The default is 15 ms, with a valid range between 0 to 20 ms.
The InkPresenter attempts to use 15ms when conditions are most favorable. When conditions are less favorable, such as a period of high acceleration, some fraction of that time is used.
Remarks
When using the InkToolbar, InkModelerAttributes should be set in the InkToolbar.ActiveToolChanged event as attributes are overwritten whenever the active tool is changed.
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