InkStroke.Id 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 the ink stroke identifier.
A unique identifier is assigned to each ink stroke managed by the InkPresenter.
public:
property unsigned int Id { unsigned int get(); };
uint32_t Id();
public uint Id { get; }
var uInt32 = inkStroke.id;
Public ReadOnly Property Id As UInteger
Property Value
The identifier for the ink stroke.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
This identifier does not persist through serialization/deserialization of the ink stroke. After deserialization, a new identifer is assigned.
Calling the Clone method also generates a new identifier for the cloned stroke.
Applies to
See also
- GetStrokeById(UInt32)
- 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