Поделиться через


InkAnalyzer.Ink - свойство

Обновлен: Ноябрь 2007

Gets the Ink object from which the InkAnalyzer can analyze stroke data.

Пространство имен:  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
The Ink object from which the InkAnalyzer can analyze stroke data.

Заметки

The InkAnalyzer can analyze stroke data from only one Ink object. You cannot change this association after the ink analyzer is initialized.

Примеры

This example removes all of the strokes associated with an InkAnalyzer, theInkAnalyzer. It then deletes the strokes from the associated Ink object.

' 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 - пространство имен