Class GifCommentBlock
De naam: Aspose.Imaging.FileFormats.Gif.Blocks Verzameling: Aspose.Imaging.dll (25.5.0)
Gif comment blokkeren.
[JsonObject(MemberSerialization.OptIn)]
public class GifCommentBlock : GifBlock, IGifBlockInheritance
object ← GifBlock ← GifCommentBlock
Implements
Geëerbiede leden
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()
Initialiseert een nieuwe instantie van de Aspose.Imaging.FileFormats.Gif.Blocks. GifCommentBlock klasse.
public GifCommentBlock()GifCommentBlock(String)
Initialiseert een nieuwe instantie van de Aspose.Imaging.FileFormats.Gif.Blocks. GifCommentBlock klasse.
public GifCommentBlock(string comment)Parameters
comment string
De commentaar .
Fields
BlockHeaderSize
Definieer de grootte van de blokheader.
public const int BlockHeaderSize = 2veldwaarde
ExtensionLabel
Gif comment block extension label.
public const byte ExtensionLabel = 254veldwaarde
Properties
Comment
Merk op dat de commentaar ASCII-encoding moet gebruiken en zal naargelang worden opgeslagen.
public string Comment { get; set; }Eigendomswaarde
Methods
Save(Stream)
Bespaar het blok naar de aangegeven stroom.
public override void Save(Stream stream)Parameters
stream Stream
De stroom om gegevens op te slaan.