Class GifCommentBlock

Class GifCommentBlock

Namespace: Aspose.Imaging.FileFormats.Gif.Blocks
Assembly: Aspose.Imaging.dll (25.7.0)

Gif comment block.

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

Inheritance

object GifBlock GifCommentBlock

Implements

IGifBlock

Inherited Members

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

Initializes a new instance of the Aspose.Imaging.FileFormats.Gif.Blocks.GifCommentBlock class.

public GifCommentBlock()
   {
   }

GifCommentBlock(string)

Initializes a new instance of the Aspose.Imaging.FileFormats.Gif.Blocks.GifCommentBlock class.

public GifCommentBlock(string comment)
   {
   }

Parameters

comment string

The comment.

Fields

BlockHeaderSize

Defines the block header size.

public const int BlockHeaderSize = 2;

Field Value

int

ExtensionLabel

Gif comment block extension label.

public const byte ExtensionLabel = 254;

Field Value

byte

Properties

Comment

Gets or sets the comment. Note that comment must use ASCII encoding and will be stored accordingly.

public string Comment
{
    get;
    set;
}

Property Value

string

Methods

Save(Stream)

Saves the block to the specified stream.

public override void Save(Stream stream)
   {
   }

Parameters

stream Stream

The stream to save data to.

 English