InkStroke.StrokeDuration 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 time taken by the user to draw a single ink stroke.
public:
property IReference<TimeSpan> ^ StrokeDuration { IReference<TimeSpan> ^ get(); void set(IReference<TimeSpan> ^ value); };
IReference<TimeSpan> StrokeDuration();
void StrokeDuration(IReference<TimeSpan> value);
public System.Nullable<System.TimeSpan> StrokeDuration { get; set; }
var iReference = inkStroke.strokeDuration;
inkStroke.strokeDuration = iReference;
Public Property StrokeDuration As Nullable(Of TimeSpan)
Property Value
The time period expressed in 100-nanosecond units.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Applies to
See also
- StrokeStartedTime
- CreateStrokeFromInkPoints(IIterable<InkPoint>, Matrix3x2, IReference<DateTime>, IReference<TimeSpan>)
- 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