Class TimeInterval

Class TimeInterval

名称: Aspose.Imaging.ImageOptions 收藏: Aspose.Imaging.dll (25.4.0)

代表千秒中的时间间隔

public class TimeInterval

Inheritance

object TimeInterval

继承人

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

从基于时间间隔的GIF图像中导出动画的一部分。

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);
                                                                             }

Constructors

TimeInterval(,)

启动 Aspose.Imaging.ImageOptions.TimeInterval 类的新例子。

public TimeInterval(uint from, uint to)

Parameters

from uint

从千秒。

to uint

到千秒。

Properties

From

接收或设置从千秒。

public uint From { get; set; }

财产价值

uint

To

接收或设置到千秒。

public uint To { get; set; }

财产价值

uint

 中文