Compartir a través de


IStylusSyncPlugin.StylusInRange (Método)

Actualización: noviembre 2007

Informa al complemento de implementación de que el lápiz está entrando en el intervalo de detección del digitalizador.

Espacio de nombres:  Microsoft.StylusInput
Ensamblado:  Microsoft.Ink (en Microsoft.Ink.dll)

Sintaxis

'Declaración
Sub StylusInRange ( _
    sender As RealTimeStylus, _
    data As StylusInRangeData _
)
'Uso
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
)

Parámetros

Ejemplos

En este ejemplo de C# se implementa el método StylusInRange. En el ejemplo, se avisa al programador cuando un lápiz entra en el intervalo de detección del digitalizador de 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.");
}

En este ejemplo de Microsoft Visual Basic .NET se implementa el método StylusInRange. En el ejemplo, se avisa al programador cuando un lápiz entra en el intervalo de detección del digitalizador de 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

Plataformas

Windows Vista, Windows XP SP2, Windows Server 2003

.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

Vea también

Referencia

IStylusSyncPlugin (Interfaz)

IStylusSyncPlugin (Miembros)

Microsoft.StylusInput (Espacio de nombres)

StylusOutOfRange