다음을 통해 공유


InkAnalyzer.SetStrokesType 메서드

업데이트: 2007년 11월

Strokes 컬렉션에 있는 각 스트로크의 형식을 변경합니다.

네임스페이스:  Microsoft.Ink
어셈블리:  Microsoft.Ink.Analysis(Microsoft.Ink.Analysis.dll)

구문

‘선언
Public Sub SetStrokesType ( _
    strokes As Strokes, _
    strokeType As StrokeType _
)
‘사용 방법
Dim instance As InkAnalyzer
Dim strokes As Strokes
Dim strokeType As StrokeType

instance.SetStrokesType(strokes, strokeType)
public void SetStrokesType(
    Strokes strokes,
    StrokeType strokeType
)
public:
void SetStrokesType(
    Strokes^ strokes, 
    StrokeType strokeType
)
public void SetStrokesType(
    Strokes strokes,
    StrokeType strokeType
)
public function SetStrokesType(
    strokes : Strokes, 
    strokeType : StrokeType
)

매개 변수

설명

스트로크의 형식이 Microsoft.Ink.StrokeType 값인 Unspecified이면 InkAnalyzer는 잉크 분석 도중 스트로크를 분류합니다. 그렇지 않으면 InkAnalyzer에서 스트로크에 설정된 형식을 사용합니다.

현재 스트로크에 할당된 형식을 가져오려면 InkAnalyzer.GetStrokeType을 호출합니다.

예제

이 예제에서는 InkAnalyzer인 theInkAnalyzer에 연결된 ContextNode인 theContextNode의 모든 스트로크에 StrokeType 값인 theStrokeType을 할당합니다.

theInkAnalyzer.SetStrokesType(theContextNode.Strokes, theStrokeType)
theInkAnalyzer.SetStrokesType(theContextNode.Strokes, theStrokeType);

플랫폼

Windows Vista

.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

InkAnalyzer 클래스

InkAnalyzer 멤버

Microsoft.Ink 네임스페이스

Microsoft.Ink.StrokeType