InkAnalyzer.SetStrokesLanguageId - метод
Обновлен: Ноябрь 2007
Changes the locale identifier for the specified Strokes.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink.Analysis (в Microsoft.Ink.Analysis.dll)
Синтаксис
'Декларация
Public Sub SetStrokesLanguageId ( _
strokes As Strokes, _
languageId As Integer _
)
'Применение
Dim instance As InkAnalyzer
Dim strokes As Strokes
Dim languageId As Integer
instance.SetStrokesLanguageId(strokes, _
languageId)
public void SetStrokesLanguageId(
Strokes strokes,
int languageId
)
public:
void SetStrokesLanguageId(
Strokes^ strokes,
int languageId
)
public void SetStrokesLanguageId(
Strokes strokes,
int languageId
)
public function SetStrokesLanguageId(
strokes : Strokes,
languageId : int
)
Параметры
- strokes
Тип: Microsoft.Ink.Strokes
The strokes to which to assign the locale identifier.
- languageId
Тип: System.Int32
The language identifier to assign to the strokes in strokes.
Заметки
A stroke's locale is set when you add the stroke by calling AddStroke or AddStrokes. To get the locale currently assigned to a stroke, call GetStrokeLanguageId.
Примеры
This example assigns the locale identifier, theLcid, to all of the strokes in the ContextNode, theContextNode, associated with the InkAnalyzer, theInkAnalyzer.
' Update the locale of all strokes associated with the context node.
theInkAnalyzer.SetStrokesLanguageId(theContextNode.Strokes, theLcid)
// Update the locale of all strokes associated with the context node.
theInkAnalyzer.SetStrokesLanguageId(theContextNode.Strokes, theLcid);
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0