ImageAnimator.UpdateFrames 方法

定义

重载

UpdateFrames()

使帧在当前进行动画处理的所有图像中前移。Advances the frame in all images currently being animated. 新帧在下一次呈现图像时绘制。The new frame is drawn the next time the image is rendered.

UpdateFrames(Image)

使帧在指定的图像中前移。Advances the frame in the specified image. 新帧在下一次呈现图像时绘制。The new frame is drawn the next time the image is rendered. 此方法只适用于包含基于时间的帧的图像。This method applies only to images with time-based frames.

UpdateFrames()

使帧在当前进行动画处理的所有图像中前移。Advances the frame in all images currently being animated. 新帧在下一次呈现图像时绘制。The new frame is drawn the next time the image is rendered.

public:
 static void UpdateFrames();
public static void UpdateFrames ();
static member UpdateFrames : unit -> unit
Public Shared Sub UpdateFrames ()

UpdateFrames(Image)

使帧在指定的图像中前移。Advances the frame in the specified image. 新帧在下一次呈现图像时绘制。The new frame is drawn the next time the image is rendered. 此方法只适用于包含基于时间的帧的图像。This method applies only to images with time-based frames.

public:
 static void UpdateFrames(System::Drawing::Image ^ image);
public static void UpdateFrames (System.Drawing.Image image);
static member UpdateFrames : System.Drawing.Image -> unit

参数

image
Image

要为其更新帧的 Image 对象。The Image object for which to update frames.

适用于