This documentation is archived and is not being maintained.

CorrectionPosition Enumeration

Specifies the direction in which the post insertion correction comb should appear.

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

'Declaration
Public Enumeration CorrectionPosition
'Usage
Dim instance As CorrectionPosition

Member nameDescription
AutoThe position of the correction comb is determined by the system.
BottomThe correction comb is shown below the Input Panel.
TopThe correction comb is shown above the Input Panel.

The following example demonstrates the use of Bottom. The tip object is an instance of TextInputPanel. In this example xInPlacePositionTextBox.Text and yInPlacePositionTextBox.Text are TextBox.Text properties that contain the values used in setting the x and y screen coordinates for positioning the Tablet PC Input Panel. An editable field where the focus is placed is represented by TextBox control, textBox1.

textBox1.Focus()
Dim xPosition As Integer = Convert.ToInt32(xInPlacePositionTextBox.Text, 10)
Dim yPosition As Integer = Convert.ToInt32(yInPlacePositionTextBox.Text, 10)
tip.SetInPlacePosition(xPosition, yPosition, CorrectionPosition.Bottom)

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.

.NET Framework

Supported in: 3.0
Show: