Class GifCommentBlock

Class GifCommentBlock

Nom dels espais: Aspose.Imaging.FileFormats.Gif.Blocks Assemblea: Aspose.Imaging.dll (25.4.0)

Bloc de comentaris GIF.

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

Inheritance

object GifBlock GifCommentBlock

Implements

IGifBlock

Membres heretats

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()

Inicialitza una nova instància de la classe Aspose.Imaging.FileFormats.Gif.Blocks.

public GifCommentBlock()

GifCommentBlock(Tàrrega)

Inicialitza una nova instància de la classe Aspose.Imaging.FileFormats.Gif.Blocks.

public GifCommentBlock(string comment)

Parameters

comment string

El comentari .

Fields

BlockHeaderSize

Defineix la mida del bloc.

public const int BlockHeaderSize = 2

Valor de camp

int

ExtensionLabel

Comentaris Gif bloqueja l’etiqueta d’extensió.

public const byte ExtensionLabel = 254

Valor de camp

byte

Properties

Comment

Nota que el comentari ha d’utilitzar el codificació ASCII i s’emmagatzemarà de conformitat.

public string Comment { get; set; }

Valor de la propietat

string

Methods

Save(Stream)

Salva el bloc al corrent especificat.

public override void Save(Stream stream)

Parameters

stream Stream

El flux per salvar les dades a.

 Català