Class GifCommentBlock
Der Name: Aspose.Imaging.FileFormats.Gif.Blocks Versammlung: Aspose.Imaging.dll (25.5.0)
Gif Kommentare blockiert.
[JsonObject(MemberSerialization.OptIn)]
public class GifCommentBlock : GifBlock, IGifBlockInheritance
object ← GifBlock ← GifCommentBlock
Implements
Vererbte Mitglieder
GifBlock.ExtensionIntroducer , GifBlock.Save(Stream) , GifBlock.IsChanged , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
GifCommentBlock()
Initialisiert eine neue Instanz der Aspose.Imaging.FileFormats.Gif.Blocks.GifCommentBlock Klasse.
public GifCommentBlock()GifCommentBlock(String)
Initialisiert eine neue Instanz der Aspose.Imaging.FileFormats.Gif.Blocks.GifCommentBlock Klasse.
public GifCommentBlock(string comment)Parameters
comment string
Der Kommentar.
Fields
BlockHeaderSize
Definieren Sie die Größe des Block Header.
public const int BlockHeaderSize = 2Feldwert
ExtensionLabel
Gif-Kommentar blockiert das Extension-Label.
public const byte ExtensionLabel = 254Feldwert
Properties
Comment
Bitte beachten Sie, dass der Kommentar ASCII-Coding verwenden muss und entsprechend gespeichert wird.
public string Comment { get; set; }Eigentumswert
Methods
Save(Stream)
Speichern Sie den Block zum angegebenen Strom.
public override void Save(Stream stream)Parameters
stream Stream
Der Stream, um die Daten zu speichern.