Class GifCommentBlock
- Namespace
- Aspose.Imaging.FileFormats.Gif.Blocks
- Assembly
- Aspose.Imaging.dll
Gif comment block.
public class GifCommentBlock : GifBlock, IGifBlock
- Inheritance
-
GifCommentBlock
- Implements
- Inherited Members
Constructors
GifCommentBlock()
Initializes a new instance of the GifCommentBlock class.
public GifCommentBlock()
GifCommentBlock(string)
Initializes a new instance of the GifCommentBlock class.
public GifCommentBlock(string comment)
Parameters
comment
stringThe comment.
Fields
BlockHeaderSize
Defines the block header size.
public const int BlockHeaderSize = 2
Field Value
ExtensionLabel
Gif comment block extension label.
public const byte ExtensionLabel = 254
Field Value
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
The comment.
Methods
Save(Stream)
Saves the block to the specified stream.
public override void Save(Stream stream)
Parameters
stream
StreamThe stream to save data to.