Class GifCommentBlock
Namn på plats: Aspose.Imaging.FileFormats.Gif.Blocks Församling: Aspose.Imaging.dll (25.4.0)
Gif kommentar block.
[JsonObject(MemberSerialization.OptIn)]
public class GifCommentBlock : GifBlock, IGifBlock
Inheritance
object ← GifBlock ← GifCommentBlock
Implements
Arvsmedlemmar
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()
Initialiserar en ny instans av Aspose.Imaging.FileFormats.Gif.Blocks.GifCommentBlock klass.
public GifCommentBlock()
GifCommentBlock(Sträng)
Initialiserar en ny instans av Aspose.Imaging.FileFormats.Gif.Blocks.GifCommentBlock klass.
public GifCommentBlock(string comment)
Parameters
comment
string
Den kommentaren .
Fields
BlockHeaderSize
Definiera block header storlek.
public const int BlockHeaderSize = 2
Fältvärde
ExtensionLabel
Gif kommentar blockerar förlängning etikett.
public const byte ExtensionLabel = 254
Fältvärde
Properties
Comment
Observera att kommentaren måste använda ASCII-kodning och kommer att lagras i enlighet med detta.
public string Comment { get; set; }
Fastighetsvärde
Methods
Save(Stream)
Spara block till den angivna strömmen.
public override void Save(Stream stream)
Parameters
stream
Stream
Strömmen för att spara data till.