InkAnalyzer.Ink (Propiedad)
Actualización: noviembre 2007
Obtiene el objeto Ink del que el objeto InkAnalyzer puede analizar datos de trazo.
Espacio de nombres: Microsoft.Ink
Ensamblado: Microsoft.Ink.Analysis (en Microsoft.Ink.Analysis.dll)
Sintaxis
'Declaración
Public ReadOnly Property Ink As Ink
'Uso
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
Valor de propiedad
Tipo: Microsoft.Ink.Ink
Objeto Ink del que el objeto InkAnalyzer puede analizar datos de trazo.
Comentarios
El objeto InkAnalyzer puede analizar los datos de trazo únicamente de un objeto Ink. No puede cambiar esta asociación una vez inicializado el analizador de entrada manuscrita.
Ejemplos
En este ejemplo se quitan todos los trazos asociados a un objeto InkAnalyzer, theInkAnalyzer. a continuación, se eliminan los trazos del objeto Ink asociado.
' 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);
}
Plataformas
Windows Vista
.NET Framework y .NET Compact Framework no admiten todas las versiones de cada plataforma. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.
Información de versión
.NET Framework
Compatible con: 3.0