Поделиться через


CorrectionPosition - перечисление

Обновлен: Ноябрь 2007

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

Пространство имен:  Microsoft.Ink.TextInput
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Enumeration CorrectionPosition
'Применение
Dim instance As CorrectionPosition
public enum CorrectionPosition
public enum class CorrectionPosition
public enum CorrectionPosition
public enum CorrectionPosition

Члены

Имя члена Описание
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.

Примеры

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);

Платформы

Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Microsoft.Ink.TextInput - пространство имен

SetInPlacePosition