共用方式為


Stroke.Ink Property

Stroke.Ink Property

Gets the parent Ink object of the Stroke object.

Definition

Visual Basic .NET Public ReadOnly Property Ink As Ink
C# public Ink Ink { get; }
Managed C++ public: __property Ink* get_Ink();

Property Value

Microsoft.Ink.Ink. The parent Ink object of the Stroke object.

This property is read-only. This property has no default value.

Remarks

A Stroke object is contained in one, and only one, Ink object.

Examples

[C#]

This C# example returns the parent Ink object of the Stroke object, theStroke.

Ink theInk = theStroke.Ink;

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example returns the parent Ink object of the Stroke object, theStroke.

Dim theInk As Ink = theStroke.Ink

See Also