Share via


Ink.CreateStrokes Method

Creates an empty Strokes collection.

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

Syntax

'Declaration
Public Function CreateStrokes As Strokes
'Usage
Dim instance As Ink 
Dim returnValue As Strokes 

returnValue = instance.CreateStrokes()
public Strokes CreateStrokes()
public:
Strokes^ CreateStrokes()
public function CreateStrokes() : Strokes

Return Value

Type: Microsoft.Ink.Strokes
Returns a new Strokes collection.

Examples

This example creates an empty Strokes collection to which Stroke objects can be added.

' create a new, empty Strokes collection 
Dim newStrokes As Strokes = mInkOverlay.Ink.CreateStrokes()
// create a new, empty Strokes collection
Strokes newStrokes = mInkOverlay.Ink.CreateStrokes();

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

CreateStrokes Overload

Microsoft.Ink Namespace

Strokes

Ink.CreateStroke

Ink.DeleteStroke

Ink.DeleteStrokes