Modifier and Type | Field and Description |
---|---|
static int |
BLOCK_HEADER_SIZE
Defines the block header size.
|
static byte |
EXTENSION_LABEL
Gif comment block extension label.
|
EXTENSION_INTRODUCER
Constructor and Description |
---|
GifCommentBlock()
Initializes a new instance of the
GifCommentBlock class. |
GifCommentBlock(String comment)
Initializes a new instance of the
GifCommentBlock class. |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Gets or sets the comment.
|
void |
save_internalized(com.aspose.ms.System.IO.Stream stream)
Saves the block to the specified stream.
|
void |
setComment(String value) |
isChanged, save, setChanged
public static final byte EXTENSION_LABEL
Gif comment block extension label.
public static final int BLOCK_HEADER_SIZE
Defines the block header size.
public GifCommentBlock()
Initializes a new instance of the GifCommentBlock
class.
public GifCommentBlock(String comment)
Initializes a new instance of the GifCommentBlock
class.
comment
- The comment.public String getComment()
Gets or sets the comment. Note that comment must use ASCII encoding and will be stored accordingly.
Value: The comment.public void setComment(String value)
public void save_internalized(com.aspose.ms.System.IO.Stream stream)
Saves the block to the specified stream.
save_internalized
in interface IGifBlock
save_internalized
in class GifBlock
stream
- The stream to save data to.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.