Visual Basic (Declaration) | |
---|---|
Public Sub StopAnimation() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterPictureBox instance.StopAnimation() |
C# | |
---|---|
public void StopAnimation() |
C++/CLI | |
---|---|
public: void StopAnimation(); |
This example will stop an animated GIF file.
Visual Basic | Copy Code |
---|---|
Public Sub RasterPictureBox_StopAnimation(ByVal viewer As RasterPictureBox) viewer.StopAnimation() End Sub |
C# | Copy Code |
---|---|
public void RasterPictureBox_StopAnimation(RasterPictureBox viewer) { viewer.StopAnimation(); // suspend painting of the image } |
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7