←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
using Leadtools.WinForms; 
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
public void RasterPictureBox_StopAnimation(RasterPictureBox viewer) 
{ 
   viewer.StopAnimation();  // suspend painting of the image  
} 
Imports Leadtools.WinForms 
Imports Leadtools 
Imports Leadtools.Codecs 
Imports Leadtools.Drawing 
 
Public Sub RasterPictureBox_StopAnimation(ByVal viewer As RasterPictureBox) 
   viewer.StopAnimation() 
End Sub 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly