←Select platform

StopAnimation Method

Summary

Stops an animation playback.

Syntax

C#
VB
C++
public void StopAnimation()
Public Sub StopAnimation()
public: 
void StopAnimation(); 

Example

This example will stop an animated GIF file.

C#
VB
Imports Leadtools.WinForms 
Imports Leadtools 
Imports Leadtools.Codecs 
Imports Leadtools.Drawing 
 
Public Sub RasterPictureBox_StopAnimation(ByVal viewer As RasterPictureBox) 
   viewer.StopAnimation() 
End Sub 
using Leadtools.WinForms; 
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
public void RasterPictureBox_StopAnimation(RasterPictureBox viewer) 
{ 
   viewer.StopAnimation();  // suspend painting of the image  
} 

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.WinForms Assembly
Click or drag to resize