Divider.RecognizerContext - свойство
Обновлен: Ноябрь 2007
Gets or sets the RecognizerContext object that the Divider object uses for handwriting analysis.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public Property RecognizerContext As RecognizerContext
'Применение
Dim instance As Divider
Dim value As RecognizerContext
value = instance.RecognizerContext
instance.RecognizerContext = value
public RecognizerContext RecognizerContext { get; set; }
public:
property RecognizerContext^ RecognizerContext {
RecognizerContext^ get ();
void set (RecognizerContext^ value);
}
/** @property */
public RecognizerContext get_RecognizerContext()
/** @property */
public void set_RecognizerContext(RecognizerContext value)
public function get RecognizerContext () : RecognizerContext
public function set RecognizerContext (value : RecognizerContext)
Значение свойства
Тип: Microsoft.Ink.RecognizerContext
The RecognizerContext object that the Divider object uses for handwriting analysis.
Заметки
If the RecognizerContext property is set, it should be done immediately after constructing the Divider object. An error is generated if you attempt to set the RecognizerContext property after either: setting the Divider.Strokes property, attempting to set it more than once or calling the Divider.Divide method.
In addition, this property generates an error if you assign a recognizer context that:
Is not a text recognizer.
Does not support free input.
If the value of the RecognizerContext property is Null when strokes are assigned to the Divider object, then the Divider object uses no recognizer context.
![]() |
---|
The Divider object uses the default property settings of the RecognizerContext object; however, the Divider object has its own Strokes collection. It therefore ignores any strokes assigned to the RecognizerContext object. |
Примеры
This C# example creates a Divider object, theDivider, and explicitly assigns the default RecognizerContext object to theDivider.
Divider theDivider = new Divider();
theDivider.RecognizerContext = new RecognizerContext();
This Microsoft® Visual Basic .NET example creates a Divider object, theDivider, and explicitly assigns the default RecognizerContext object to theDivider.
Dim theDivider As Divider = New Divider(theStrokes)
theDivider.RecognizerContext = New RecognizerContext()
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0