InkRecognizerGuideBase Constructor
Creates an instance of the InkRecognizerGuideBase class.
Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in IACore.dll)
Syntax
'Declaration
Public Sub New ( _
rows As Integer, _
columns As Integer, _
midline As Integer, _
writingBoxLeft As Integer, _
writingBoxTop As Integer, _
writingBoxRight As Integer, _
writingBoxBottom As Integer, _
drawnBoxLeft As Integer, _
drawnBoxTop As Integer, _
drawnBoxRight As Integer, _
drawnBoxBottom As Integer _
)
'Usage
Dim rows As Integer
Dim columns As Integer
Dim midline As Integer
Dim writingBoxLeft As Integer
Dim writingBoxTop As Integer
Dim writingBoxRight As Integer
Dim writingBoxBottom As Integer
Dim drawnBoxLeft As Integer
Dim drawnBoxTop As Integer
Dim drawnBoxRight As Integer
Dim drawnBoxBottom As Integer
Dim instance As New InkRecognizerGuideBase(rows, columns, _
midline, writingBoxLeft, writingBoxTop, _
writingBoxRight, writingBoxBottom, _
drawnBoxLeft, drawnBoxTop, drawnBoxRight, _
drawnBoxBottom)
public InkRecognizerGuideBase(
int rows,
int columns,
int midline,
int writingBoxLeft,
int writingBoxTop,
int writingBoxRight,
int writingBoxBottom,
int drawnBoxLeft,
int drawnBoxTop,
int drawnBoxRight,
int drawnBoxBottom
)
public:
InkRecognizerGuideBase(
int rows,
int columns,
int midline,
int writingBoxLeft,
int writingBoxTop,
int writingBoxRight,
int writingBoxBottom,
int drawnBoxLeft,
int drawnBoxTop,
int drawnBoxRight,
int drawnBoxBottom
)
public function InkRecognizerGuideBase(
rows : int,
columns : int,
midline : int,
writingBoxLeft : int,
writingBoxTop : int,
writingBoxRight : int,
writingBoxBottom : int,
drawnBoxLeft : int,
drawnBoxTop : int,
drawnBoxRight : int,
drawnBoxBottom : int
)
Parameters
rows
Type: System.Int32The number of rows in the guide box.
columns
Type: System.Int32The number of columns in the guide box.
midline
Type: System.Int32The value of the midline height of the drawn box.
writingBoxLeft
Type: System.Int32The left value of the invisible writing area of the guide box where writing can take place.
writingBoxTop
Type: System.Int32The top value of the invisible writing area of the guide box where writing can take place.
writingBoxRight
Type: System.Int32The right value of the invisible writing area of the guide box where writing can take place.
writingBoxBottom
Type: System.Int32The top value of the rectangle that is physically drawn on the tablet screen and in which writing takes place.
drawnBoxLeft
Type: System.Int32The left value of the rectangle that is physically drawn on the tablet screen and in which writing takes place.
drawnBoxTop
Type: System.Int32The top value of the rectangle that is physically drawn on the tablet screen and in which writing takes place.
drawnBoxRight
Type: System.Int32The right value of the rectangle that is physically drawn on the tablet screen and in which writing takes place.
drawnBoxBottom
Type: System.Int32The bottom value of the rectangle that is physically drawn on the tablet screen and in which writing takes place.
Examples
The following example demonstrates creating an InkRecognizerGuideBase object.
' Create new InkRecognizerGuideBase
Dim myInkRecognizerGuideBase As InkRecognizerGuideBase = _
New InkRecognizerGuideBase( _
ROWS, _
COLUMNS, _
MIDLINE, _
WRITING_BOX_LEFT, _
WRITING_BOX_TOP, _
WRITING_BOX_RIGHT, _
WRITING_BOX_BOTTOM, _
DRAWN_BOX_LEFT, _
DRAWN_BOX_TOP, _
DRAWN_BOX_RIGHT, _
DRAWN_BOX_BOTTOM)
// Create new InkRecognizerGuideBase
InkRecognizerGuideBase myInkRecognizerGuideBase =
new InkRecognizerGuideBase(
ROWS,
COLUMNS,
MIDLINE,
WRITING_BOX_LEFT,
WRITING_BOX_TOP,
WRITING_BOX_RIGHT,
WRITING_BOX_BOTTOM,
DRAWN_BOX_LEFT,
DRAWN_BOX_TOP,
DRAWN_BOX_RIGHT,
DRAWN_BOX_BOTTOM);
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
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