指定した StrokeCollection のロケール識別子を変更します。
名前空間 : System.Windows.Ink
アセンブリ : IAWinFX (IAWinFX.dll 内)
構文
'宣言
Public Sub SetStrokesLanguageId ( _
strokes As StrokeCollection, _
languageId As Integer _
)
'使用
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
)
パラメータ
- strokes
型 : System.Windows.Ink.StrokeCollection
ロケール識別子に割り当てられるストローク。
- languageId
型 : System.Int32
strokes のストロークに割り当てられるロケール識別子。
解説
ストロークのロケールは、AddStroke または AddStrokes を呼び出すことによりストロークを追加したときに設定されます。現在ストロークに割り当てられているロケールを取得するには、GetStrokeLanguageId() を呼び出します。
例
この例では、(theInkAnalyzer という名前の) InkAnalyzer に関連付けられた (theContextNode という名前の) ContextNode のすべてのストロークにロケール識別子 theLcid を割り当てます。
' 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