Sdílet prostřednictvím


Divider Constructor (Strokes)

Initializes a new instance of the Divider class.

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

Syntax

'Declaration
Public Sub New ( _
    strokes As Strokes _
)
'Usage
Dim strokes As Strokes 

Dim instance As New Divider(strokes)
public Divider(
    Strokes strokes
)
public:
Divider(
    Strokes^ strokes
)
public function Divider(
    strokes : Strokes
)

Parameters

Remarks

If you use this constructor overload, the Strokes collection is created but the recognizer context is not assigned. Thus, you cannot update the Divider object's RecognizerContext or LineHeight properties.

Examples

This C# example creates a Divider object containing a Strokes collection, theStrokes. An RecognizerContext object is not assigned.

Divider theDivider = new Divider(theStrokes);

This Microsoft Visual Basic .NET example creates a Divider object containing a Strokes collection, theStrokes. An RecognizerContext object is not assigned.

Dim theDivider As New Divider(theStrokes)

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

Divider Class

Divider Members

Divider Overload

Microsoft.Ink Namespace

Divider

Divider.LineHeight

Divider.RecognizerContext

Divider.Strokes

Recognizer.Capabilities