Freigeben über


Divider.Divider Constructor

Divider.Divider Constructor

Initializes a new instance of the Divider class.

Definition

Visual Basic .NET Public Sub Divider( _
ByVal strokes As Strokes _
)
C# public Divider(
Strokes strokes
);
Managed C++ public: Divider(
Strokes *strokes
);

Parameters

strokes Microsoft.Ink.Strokes. The Strokes collection to place in the Strokes property of the new Divider object.

Remarks

If you use this overload of the constructor, the Divider object contains the specified strokes and has no recognizer context assigned. You will not be able to update the Divider object's RecognizerContext and LineHeight properties.

Examples

[C#]

This C# example creates a Divider object that contains the Strokes collection, theStrokes, but to which no RecognizerContext object is assigned.

Divider theDivider = new Divider(theStrokes);

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example creates a Divider object that contains the Strokes collection, theStrokes, but to which no RecognizerContext object is assigned.

Dim theDivider As New Divider(theStrokes)

See Also