Share via


IStylusSyncPlugin.RealTimeStylusEnabled Method

IStylusSyncPlugin.RealTimeStylusEnabled Method

Informs the implementing plug-in that the RealTimeStylus is enabled

Definition

Visual Basic .NET Public Sub RealTimeStylusEnabled( _
ByVal sender As RealTimeStylus, _
ByVal data As RealTimeStylusEnabledData _
)
C# public void RealTimeStylusEnabled(
RealTimeStylus sender,
RealTimeStylusEnabledData data
);
Managed C++ public: void RealTimeStylusEnabled(
RealTimeStylus *sender,
RealTimeStylusEnabledData *data
);

Parameters

sender Microsoft.StylusInput.RealTimeStylus. The RealTimeStylus that sent the notification.
data Microsoft.StylusInput.PluginData.RealTimeStylusEnabledData. Contains information about the Tablets associated with this RealTimeStylus.

Examples

[C#]

This C# example alerts the developer when the plug-in is added to the StylusSyncPluginCollection.

public void RealTimeStylusEnabled(RealTimeStylus sender, RealTimeStylusEnabledData data)
{
  Debug.Assert(false, null, "This plug-in has been added to the RealTimeStylusAsyncPluginCollection.");
}

See Also