Share via


Stroke.Ink Property

Gets the parent Ink object of the Stroke object.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public ReadOnly Property Ink As Ink
'Usage
Dim instance As Stroke 
Dim value As Ink 

value = instance.Ink
public Ink Ink { get; }
public:
property Ink^ Ink {
    Ink^ get ();
}
public function get Ink () : Ink

Property Value

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

Remarks

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

Examples

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

Ink theInk = theStroke.Ink;

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

Dim theInk As Ink = theStroke.Ink

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Stroke Class

Stroke Members

Microsoft.Ink Namespace

Ink