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)
Syntax
'Declaration
Public Enumeration CorrectionPosition
'Usage
Dim instance As CorrectionPosition
public enum CorrectionPosition
public enum class CorrectionPosition
public enum CorrectionPosition
Members
Member name | Description | |
---|---|---|
Auto | The position of the correction comb is determined by the system. | |
Bottom | The correction comb is shown below the Input Panel. | |
Top | The correction comb is shown above the Input Panel. |
Examples
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)
textBox1.Focus();
int xPosition = Convert.ToInt32(xInPlacePositionTextBox.Text, 10);
int yPosition = Convert.ToInt32(yInPlacePositionTextBox.Text, 10);
tip.SetInPlacePosition(xPosition, yPosition, CorrectionPosition.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