Class TimeInterval
Class TimeInterval
İsim alanı : Aspose.Imaging.ImageOptions Toplantı: Aspose.Imaging.dll (25.4.0)
Millisekonda zaman aralığını temsil eder
public class TimeInterval
Inheritance
mirasçı üyeleri
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
Animasyonun bir kısmının zaman aralığına dayalı GIF görüntüsünden ihraç edilmesi.
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(Uint , uint)
Aspose.Imaging.ImageOptions.TimeInterval sınıfının yeni bir örneğini başlatır.
public TimeInterval(uint from, uint to)
Parameters
from
uint
Milisekundelerden sonra.
to
uint
Milisekondur için.
Properties
From
Millisecond’tan alınır veya ayarlanır.
public uint From { get; set; }
Mülkiyet Değer
To
Millisekonda alınır veya ayarlanır.
public uint To { get; set; }