Class TimeInterval

Class TimeInterval

Der Name: Aspose.Imaging.ImageOptions Versammlung: Aspose.Imaging.dll (25.4.0)

Zeitraum in Millisekunden repräsentiert

public class TimeInterval

Inheritance

object TimeInterval

Vererbte Mitglieder

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

Examples

Export eines Teils der Animation aus GIF-Bilder basierend auf Zeitintervall.

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 und Uint)

Initialisiert eine neue Instanz der Aspose.Imaging.ImageOptions.TimeInterval Klasse.

public TimeInterval(uint from, uint to)

Parameters

from uint

von Millisekunden.

to uint

bis zu Millisekunden.

Properties

From

Erhalt oder Set von Millisekunden.

public uint From { get; set; }

Eigentumswert

uint

To

Sie erhalten oder setzen bis zu Millisekunden.

public uint To { get; set; }

Eigentumswert

uint

 Deutsch