Constructs a new RasterImageAnimator object using the specified parameters.
public RasterImageAnimator(
Leadtools.RasterImage targetImage,
Leadtools.RasterImage animatedImage
)
Public Function New( _
ByVal targetImage As Leadtools.RasterImage, _
ByVal animatedImage As Leadtools.RasterImage _
)
public RasterImageAnimator(
Leadtools.RasterImage targetImage,
Leadtools.RasterImage animatedImage
)
function RasterImageAnimator(
targetImage ,
animatedImage
)
public:
RasterImageAnimator(
Leadtools.RasterImage^ targetImage,
Leadtools.RasterImage^ animatedImage
)
targetImage
A RasterImage object referencing the target image.
animatedImage
A RasterImage object containing the frames to be played. This object must be a multi-frame image (The value of RasterImage.AnimationGlobalLoop must be something other than -1. You can also pass a null reference (Nothing in VisualBasic) to let the method create an empty multi-frame image.
targetImage must be allocated before calling this method
If you pass null (Nothing in VisualBasic) in the animatedImage parameter, 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.
The RasterImageAnimator class also implements the IDisposable interface, it is recommended that you follow the standard .NET dispose pattern when using the RasterImageAnimator class. For more information, refer to IDisposable.
For an example, refer to RasterImageAnimator.
Products |
Support |
Feedback: RasterImageAnimator Constructor - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.