Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
UseAnimationLoop Property
See Also 
Leadtools.Codecs Namespace > CodecsGifOptions.CodecsGifSaveOptions Class : UseAnimationLoop Property



Gets or sets a value indicating whether AnimationLoop should be used when saving GIF images.

Syntax

Visual Basic (Declaration) 
Public Property UseAnimationLoop As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsGifOptions.CodecsGifSaveOptions
Dim value As Boolean
 
instance.UseAnimationLoop = value
 
value = instance.UseAnimationLoop
C# 
public bool UseAnimationLoop {get; set;}
C++/CLI 
public:
property bool UseAnimationLoop {
   bool get();
   void set (bool value);
}

Return Value

true to use AnimationLoop when saving GIF images; otherwise false.

Example

For an example, refer to CodecsGifOptions.

Remarks

To save GIF images with an animation loop, set the value of the UseAnimationLoop to true then set the number of animation count (loop) in the AnimationLoop property prior of calling the RasterCodecs.Save method.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also