Export (0) Print
Expand All

IStylusAsyncPlugin.TabletRemoved Method

Notifies an implementing plug-in when a Microsoft.Ink.Tablet object is removed from the system.

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

void TabletRemoved (
	RealTimeStylus sender,
	TabletRemovedData data
)
void TabletRemoved (
	RealTimeStylus sender, 
	TabletRemovedData data
)
function TabletRemoved (
	sender : RealTimeStylus, 
	data : TabletRemovedData
)
Not applicable.

Parameters

sender

The RealTimeStylus object that sent the notification.

data

Information about the Tablet object that was removed.

NoteNote:

This method is called by the RealTimeStylus object, whether the RealTimeStylus object is enabled or disabled.

This C# example implements the TabletRemoved method. the example notifies the developer when a tablet has been removed from the system.

public void TabletRemoved(RealTimeStylus sender, TabletRemovedData data)
{
    Debug.Assert(false, "TabletRemoved", "The tablet at index " 
                 + data.TabletIndex.ToString() + " has been removed from the system.");
}

This Microsoft Visual Basic .NET example implements the TabletRemoved method. the example notifies the developer when a tablet has been removed from the system.

Public Sub TabletRemoved(ByVal sender As RealTimeStylus, ByVal data As TabletRemovedData) _
 Implements IStylusAsyncPlugin.TabletRemoved
    Debug.Assert(False, "TabletRemoved", "The tablet at index " & _
                 data.TabletIndex.ToString() & " has been removed from the system.")
End Sub 'TabletRemoved

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:
© 2015 Microsoft