InkAnalyzer.SetStrokesLanguageId Method
Changes the locale identifier for the specified StrokeCollection.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
Syntax
'Declaration
Public Sub SetStrokesLanguageId ( _
strokes As StrokeCollection, _
languageId As Integer _
)
'Usage
Dim instance As InkAnalyzer
Dim strokes As StrokeCollection
Dim languageId As Integer
instance.SetStrokesLanguageId(strokes, languageId)
public void SetStrokesLanguageId (
StrokeCollection strokes,
int languageId
)
public:
void SetStrokesLanguageId (
StrokeCollection^ strokes,
int languageId
)
public void SetStrokesLanguageId (
StrokeCollection strokes,
int languageId
)
public function SetStrokesLanguageId (
strokes : StrokeCollection,
languageId : int
)
Not applicable.
Parameters
- strokes
The strokes to assign to the locale identifier.
- languageId
The locale 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 GetStrokeLanguageId.
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
System.Windows.Ink Namespace