Condividi tramite


Metodo IStylusSyncPlugin.StylusOutOfRange

Aggiornamento: novembre 2007

Informa il plug-in di implementazione che lo stilo esce dall'intervallo di rilevamento del digitalizzatore.

Spazio dei nomi:  Microsoft.StylusInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Sintassi

'Dichiarazione
Sub StylusOutOfRange ( _
    sender As RealTimeStylus, _
    data As StylusOutOfRangeData _
)
'Utilizzo
Dim instance As IStylusSyncPlugin
Dim sender As RealTimeStylus
Dim data As StylusOutOfRangeData

instance.StylusOutOfRange(sender, data)
void StylusOutOfRange(
    RealTimeStylus sender,
    StylusOutOfRangeData data
)
void StylusOutOfRange(
    RealTimeStylus^ sender, 
    StylusOutOfRangeData^ data
)
void StylusOutOfRange(
    RealTimeStylus sender,
    StylusOutOfRangeData data
)
function StylusOutOfRange(
    sender : RealTimeStylus, 
    data : StylusOutOfRangeData
)

Parametri

Esempi

In questo esempio C# viene implementato il metodo StylusOutOfRange. Nell'esempio viene inviata una notifica allo sviluppatore quando lo stilo è uscito dall'intervallo di rilevamento del digitalizzatore Tablet PC.

public void StylusOutOfRange(RealTimeStylus sender, StylusOutOfRangeData data)
{
    Debug.Assert(false, "StylusOutOfRange", "The stylus with ID number " 
                 + data.Stylus.Id.ToString() + " has gone out of range of the tablet.");
}

In questo esempio Microsoft Visual Basic .NET viene implementato il metodo StylusOutOfRange. Nell'esempio viene inviata una notifica allo sviluppatore quando lo stilo è uscito dall'intervallo di rilevamento del digitalizzatore Tablet PC.

Public Sub StylusOutOfRange(ByVal sender As RealTimeStylus, ByVal data As StylusOutOfRangeData) _
 Implements IStylusSyncPlugin.StylusOutOfRange
    Debug.Assert(False, "StylusOutOfRange", "The stylus with ID number " & _
           data.Stylus.Id.ToString() & " has gone out of range of the tablet.")
End Sub 'StylusOutOfRange

Piattaforme

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.

Informazioni sulla versione

.NET Framework

Supportato in: 3.0

Vedere anche

Riferimenti

IStylusSyncPlugin Interfaccia

Membri IStylusSyncPlugin

Spazio dei nomi Microsoft.StylusInput

StylusOutOfRangeData

StylusInRange