DynamicRenderer::Reset Method (StylusDevice^, StylusPointCollection^)

 

Clears rendering on the current stroke and redraws it.

Namespace:   System.Windows.Input.StylusPlugIns
Assembly:  PresentationCore (in PresentationCore.dll)

public:
virtual void Reset(
	StylusDevice^ stylusDevice,
	StylusPointCollection^ stylusPoints
)

Parameters

stylusDevice
Type: System.Windows.Input::StylusDevice^

The current stylus device.

stylusPoints
Type: System.Windows.Input::StylusPointCollection^

The stylus points to be redrawn.

Exception Condition
ArgumentException

Neither the stylus nor the mouse is in the down state.

The DynamicRenderer redraws the current stroke and any of the stylus points passed into the Reset method. This method allows you to redraw a stroke while the user is still creating the stroke. The tablet pen must be touching the digitizer or the left mouse button must be pressed when Reset is called.

Notes to Inheritors:

When overriding Reset in a derived class, be sure to call the base class’s Reset method.

The following example changes the color of the current stroke as it is being drawn.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: