ImageAnimator.StopAnimate(Image, EventHandler) Method

Definition

Terminates a running animation.

public:
 static void StopAnimate(System::Drawing::Image ^ image, EventHandler ^ onFrameChangedHandler);
public static void StopAnimate (System.Drawing.Image image, EventHandler onFrameChangedHandler);
static member StopAnimate : System.Drawing.Image * EventHandler -> unit

Parameters

image
Image

The Image object to stop animating.

onFrameChangedHandler
EventHandler

An EventHandler object that specifies the method that is called when the animation frame changes.

Applies to