Condividi tramite


Metodo IStylusSyncPlugin.StylusInRange

Aggiornamento: novembre 2007

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

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

Sintassi

'Dichiarazione
Sub StylusInRange ( _
    sender As RealTimeStylus, _
    data As StylusInRangeData _
)
'Utilizzo
Dim instance As IStylusSyncPlugin
Dim sender As RealTimeStylus
Dim data As StylusInRangeData

instance.StylusInRange(sender, data)
void StylusInRange(
    RealTimeStylus sender,
    StylusInRangeData data
)
void StylusInRange(
    RealTimeStylus^ sender, 
    StylusInRangeData^ data
)
void StylusInRange(
    RealTimeStylus sender,
    StylusInRangeData data
)
function StylusInRange(
    sender : RealTimeStylus, 
    data : StylusInRangeData
)

Parametri

Esempi

In questo esempio C# viene implementato il metodo StylusInRange. Nell'esempio viene inviata una notifica allo sviluppatore quando uno stilo entra nell'intervallo di rilevamento del digitalizzatore Tablet PC.

public void StylusInRange(RealTimeStylus sender, StylusInRangeData data)
{
    Debug.Assert(false, "StylusInRange", "The stylus with ID number " 
                 + data.Stylus.Id.ToString() + " has come in range of the tablet.");
}

In questo esempio Microsoft Visual Basic .NET viene implementato il metodo StylusInRange. Nell'esempio viene inviata una notifica allo sviluppatore quando uno stilo entra nell'intervallo di rilevamento del digitalizzatore Tablet PC.

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

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

StylusOutOfRange