Invalidates this RasterImageAnimator object and returns the animated image.
public RasterImage Destroy()
Public Function Destroy() As RasterImage
A RasterImage object containing the multi-frame animated image.
If you pass null (Nothing in VisualBasic) in the animatedImage parameter for the RasterImageAnimator constructor, you can use the Append method to add frames to the multi-frame image during the animation. This is useful if you want to play an animated file as it is being loaded. If you need to reference the multi-frame image after the animation, you can call the Destroy method before you dispose this RasterImageAnimator object.
For an example, refer to Append.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries