업데이트: 2007년 11월
지정된 Stroke의 로캘 식별자를 변경합니다.
네임스페이스: System.Windows.Ink
어셈블리: IAWinFX(IAWinFX.dll)
구문
‘선언
Public Sub SetStrokeLanguageId ( _
stroke As Stroke, _
languageId As Integer _
)
‘사용 방법
Dim instance As InkAnalyzer
Dim stroke As Stroke
Dim languageId As Integer
instance.SetStrokeLanguageId(stroke, _
languageId)
public void SetStrokeLanguageId(
Stroke stroke,
int languageId
)
public:
void SetStrokeLanguageId(
Stroke^ stroke,
int languageId
)
public void SetStrokeLanguageId(
Stroke stroke,
int languageId
)
public function SetStrokeLanguageId(
stroke : Stroke,
languageId : int
)
매개 변수
- stroke
형식: System.Windows.Ink.Stroke
로캘 식별자를 받는 스트로크입니다.
- languageId
형식: System.Int32
stroke에 할당할 로캘 식별자입니다.
설명
스트로크의 로캘은 스트로크를 추가할 때 AddStroke 또는 AddStrokes를 호출하여 설정합니다. 현재 스트로크에 할당된 로캘을 가져오려면 GetStrokeLanguageId()를 호출합니다.
예제
이 예제에서는 InkAnalyzer(theInkAnalyzer)와 연결된 ContextNode(theContextNode)의 모든 스트로크에 로캘 식별자 theLcid를 할당합니다.
' Iterate through the strokes within the context node and update
' the locale of each stroke.
Dim theStroke As Stroke
For Each theStroke In theContextNode.Strokes
theInkAnalyzer.SetStrokeLanguageId(theStroke, theLcid)
Next theStroke
// Iterate through the strokes within the context node and update
// the locale of each stroke.
foreach (Stroke theStroke in theContextNode.Strokes)
{
theInkAnalyzer.SetStrokeLanguageId(theStroke, theLcid);
}
플랫폼
Windows Vista
.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
3.0에서 지원