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
)
パラメータ
- strokes
型 : Microsoft.Ink.Strokes
strokeType を割り当てるストロークのコレクション。
- strokeType
型 : Microsoft.Ink.StrokeType
strokes のストロークに割り当てるストロークの型。
解説
ストロークの型が 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