Compartir a través de


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 ();
}
/** @property */
public Ink get_Ink ()
public function get Ink () : Ink
Not applicable.

Property Value

The parent Ink object of the Stroke object.

Remarks

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

Example

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Stroke Class
Stroke Members
Microsoft.Ink Namespace
Ink