Share via


InkPicture.OnNewPackets Method

InkPicture.OnNewPackets Method

Allows derived classes to modify the default behavior of the NewPackets event.

Definition

Visual Basic .NET Overridable Protected Sub OnNewPackets( _
ByVal e As InkCollectorNewPacketsEventArgs _
)
C# protected virtual void OnNewPackets(
InkCollectorNewPacketsEventArgs e
);
Managed C++ protected: virtual void OnNewPackets(
InkCollectorNewPacketsEventArgs *e
);

Parameters

e Microsoft.Ink.InkCollectorNewPacketsEventArgs. The InkCollectorNewPacketsEventArgs object that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate.

In derived classes, this method is called only if a delegate is attached to the NewPackets event.

When overriding this method in a derived class, call the OnNewPackets method of the base class so that registered delegates receive the event.

See Also