InkStroke.Id Property

Definition

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

UInt32

unsigned int

uint32_t

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