Leadtools Namespace > RasterImageAnimator Class : Destroy Method |
public RasterImage Destroy()
'Declaration Public Function Destroy() As RasterImage
'Usage Dim instance As RasterImageAnimator Dim value As RasterImage value = instance.Destroy()
public RasterImage Destroy()
function Leadtools.RasterImageAnimator.Destroy()
public: RasterImage^ Destroy();
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.
After you call Destroy, this RasterImageAnimator object is invalid and you should only call the Dispose method afterwards.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2