IStylusSyncPlugin.TabletAdded Method

Notifies the implementing plug-in when a Microsoft.Ink.Tablet object is added to the system.

Namespace: Microsoft.StylusInput
Assembly: Microsoft.Ink (in microsoft.ink.dll)

'Declaration
Sub TabletAdded ( _
	sender As RealTimeStylus, _
	data As TabletAddedData _
)
'Usage
Dim instance As IStylusSyncPlugin
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.

NoteNote:

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 IStylusSyncPlugin.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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: