Class GifCommentBlock

Class GifCommentBlock

Der Name: Aspose.Imaging.FileFormats.Gif.Blocks Versammlung: Aspose.Imaging.dll (25.4.0)

Gif Kommentare blockiert.

[JsonObject(MemberSerialization.OptIn)]
public class GifCommentBlock : GifBlock, IGifBlock

Inheritance

object GifBlock GifCommentBlock

Implements

IGifBlock

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 = 2

Feldwert

int

ExtensionLabel

Gif-Kommentar blockiert das Extension-Label.

public const byte ExtensionLabel = 254

Feldwert

byte

Properties

Comment

Bitte beachten Sie, dass der Kommentar ASCII-Coding verwenden muss und entsprechend gespeichert wird.

public string Comment { get; set; }

Eigentumswert

string

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.

 Deutsch