次の方法で共有


InkAnalyzer.Ink プロパティ

InkAnalyzer がストローク データを分析できる Ink オブジェクトを取得します。

名前空間 :  Microsoft.Ink
アセンブリ :  Microsoft.Ink.Analysis (Microsoft.Ink.Analysis.dll 内)

構文

'宣言
Public ReadOnly Property Ink As Ink
'使用
Dim instance As InkAnalyzer
Dim value As Ink

value = instance.Ink
public Ink Ink { get; }
public:
property Ink^ Ink {
    Ink^ get ();
}
/** @property */
public Ink get_Ink()
public function get Ink () : Ink

プロパティ値

型 : Microsoft.Ink.Ink
InkAnalyzer がストローク データを分析できる Ink オブジェクト。

解説

InkAnalyzer は、1 つの Ink オブジェクトだけからストローク データを分析できます。インク アナライザを初期化した後にはこの関連付けを変更できません。

この例では、InkAnalyzer、theInkAnalyzer に関連付けられたすべてのストロークを削除し、関連付けられた Ink オブジェクトからストロークを削除します。

' Get all the strokes associated with the ink analyzer.
Dim theStrokes As Microsoft.Ink.Strokes = Me.theInkAnalyzer.RootNode.Strokes

If Nothing IsNot theStrokes Then
    ' Remove the strokes from the analyzer.
    Me.theInkAnalyzer.RemoveStrokes(theStrokes)

    ' Deleted the strokes from the associated Ink object.
    Me.theInkAnalyzer.Ink.DeleteStrokes(theStrokes)
End If
// Get all the strokes associated with the ink analyzer.
Microsoft.Ink.Strokes theStrokes = this.theInkAnalyzer.RootNode.Strokes;

if (null != theStrokes)
{
    // Remove the strokes from the analyzer.
    this.theInkAnalyzer.RemoveStrokes(theStrokes);

    // Deleted the strokes from the associated Ink object.
    this.theInkAnalyzer.Ink.DeleteStrokes(theStrokes);
}

プラットフォーム

Windows Vista

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

InkAnalyzer クラス

InkAnalyzer メンバ

Microsoft.Ink 名前空間