IStylusAsyncPlugin.TabletAdded Method
Notifies an implementing plug-in when a Microsoft.Ink.Tablet object is attached to the system.
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)
Parameters
- sender
- Type: Microsoft.StylusInput.RealTimeStylus
The RealTimeStylus object that sent the notification.
- data
- Type: Microsoft.StylusInput.PluginData.TabletAddedData
Information about the Tablet object that was added.
Note: |
|---|
This method is called by the RealTimeStylus object, whether the RealTimeStylus object is enabled or disabled. |
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 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note: