Divider.Divider(Strokes) Constructor
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 Divider (
Strokes strokes
)
public function Divider (
strokes : Strokes
)
Not applicable.
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.
Example
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 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
Divider Class
Divider Members
Microsoft.Ink Namespace
Divider
Divider.LineHeight
Divider.RecognizerContext
Divider.Strokes
Recognizer.Capabilities