InkAnalyzer.SetStrokesLanguageId Method
Changes the locale identifier for the specified Strokes.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in microsoft.ink.analysis.dll)
Syntax
'Declaration
Public Sub SetStrokesLanguageId ( _
strokes As Strokes, _
languageId As Integer _
)
'Usage
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
)
Not applicable.
Parameters
- strokes
The strokes to which to assign the locale identifier.
- languageId
The language identifier to assign to the strokes in strokes.
Remarks
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 Microsoft.Ink.InkAnalyzer.GetStrokeLanguageId(System.Int32).
Example
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);
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
InkAnalyzer Class
InkAnalyzer Members
Microsoft.Ink Namespace