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)

Syntax

'Declaration
Sub TabletRemoved ( _
    sender As RealTimeStylus, _
    data As TabletRemovedData _
)
'Usage
Dim instance As IStylusAsyncPlugin 
Dim sender As RealTimeStylus 
Dim data As TabletRemovedData

instance.TabletRemoved(sender, data)
void TabletRemoved(
    RealTimeStylus sender,
    TabletRemovedData data
)
void TabletRemoved(
    RealTimeStylus^ sender, 
    TabletRemovedData^ data
)
function TabletRemoved(
    sender : RealTimeStylus, 
    data : TabletRemovedData
)

Parameters

Remarks

Note

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

Examples

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

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

IStylusAsyncPlugin Interface

IStylusAsyncPlugin Members

Microsoft.StylusInput Namespace

TabletRemovedData