IStylusAsyncPlugin.TabletAdded Method
.NET Framework 3.0
Notifies an implementing plug-in when a Microsoft.Ink.Tablet object is attached to the system.
Namespace: Microsoft.StylusInput
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Assembly: Microsoft.Ink (in microsoft.ink.dll)
'Declaration Sub TabletAdded ( _ sender As RealTimeStylus, _ data As TabletAddedData _ ) 'Usage Dim instance As IStylusAsyncPlugin Dim sender As RealTimeStylus Dim data As TabletAddedData instance.TabletAdded(sender, data)
void TabletAdded ( RealTimeStylus sender, TabletAddedData data )
function TabletAdded (
sender : RealTimeStylus,
data : TabletAddedData
)
Not applicable.
Parameters
- sender
The RealTimeStylus object that sent the notification.
- data
Information about the Tablet object that was added.
This C# example implements the TabletAdded method. The example notifies the developer when a tablet is added to the system.
public void TabletAdded(RealTimeStylus sender, TabletAddedData data) { Debug.Assert(false, "TabletAdded", "A tablet called " + data.Tablet.Name + " has been added to the system."); }
This Microsoft Visual Basic .NET example implements the TabletAdded method. The example notifies the developer when a tablet is added to the system.
Public Sub TabletAdded(ByVal sender As RealTimeStylus, ByVal data As TabletAddedData) _ Implements IStylusAsyncPlugin.TabletAdded Debug.Assert(False, "TabletAdded", "A tablet called " & _ data.Tablet.Name & " has been added to the system.") End Sub 'TabletAdded
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show:
Note: