Share via


Ink Constructor

Initializes a new instance of the Ink class.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New Ink()
public Ink()
public:
Ink()
public function Ink()

Remarks

GDI+ is initialized when the first Ink object is created in your application and de-initialized when the last reference is deleted. To avoid repeating the initialization cycle, keep an active reference to an Ink object.

Examples

This C# example declares and creates an Ink object, theInk.

Ink theInk = new Ink();

This Microsoft Visual Basic.NET example declares and creates an Ink object, theInk.

Dim theInk As New 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

Ink Class

Ink Members

Microsoft.Ink Namespace