Class TimeInterval
TimeInterval class
Represents the time interval in milliseconds
public class TimeInterval
Constructors
Name | Description |
---|---|
TimeInterval(uint, uint) | Initializes a new instance of the TimeInterval class. |
Properties
Name | Description |
---|---|
From { get; set; } | Gets or sets From milliseconds. |
To { get; set; } | Gets or sets To milliseconds. |
Examples
Export of part of animation from GIF image based on time interval.
[C#]
using (var image = Image.Load("Animation.gif"))
{
var options = new GifOptions
{
FullFrame = true,
MultiPageOptions = new MultiPageOptions
{
Mode = MultiPageMode.TimeInterval,
TimeInterval = new TimeInterval(0, 400)
}
};
image.Save("PartOfAnimation.gif", options);
}
See Also
- namespace Aspose.Imaging.ImageOptions
- assembly Aspose.Imaging