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
)

Parameters

sender
Type: Microsoft.StylusInput.RealTimeStylus

The RealTimeStylus object that sent the notification.

data
Type: Microsoft.StylusInput.PluginData.TabletRemovedData

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

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft