Edit

Share via


ImageAnimator.CanAnimate(Image) Method

Definition

Returns a Boolean value indicating whether the specified image contains time-based frames.

public:
 static bool CanAnimate(System::Drawing::Image ^ image);
public static bool CanAnimate (System.Drawing.Image? image);
public static bool CanAnimate (System.Drawing.Image image);
static member CanAnimate : System.Drawing.Image -> bool
Public Shared Function CanAnimate (image As Image) As Boolean

Parameters

image
Image

The Image object to test.

Returns

This method returns true if the specified image contains time-based frames; otherwise, false.

Applies to