GifCommentBlock 类

Summary: Gif comment block.

Module: aspose.imaging.fileformats.gif.blocks

Full Name: aspose.imaging.fileformats.gif.blocks.GifCommentBlock

Inheritance: IGifBlock, GifBlock

Constructors

Name描述
GifCommentBlock()初始化 GifCommentBlock 类的新实例。
GifCommentBlock(comment)初始化 GifCommentBlock 类的新实例。

Properties

NameTypeAccess描述
BLOCK_HEADER_SIZE [static]intr定义块头部大小。
EXTENSION_INTRODUCER [static]System.Byter扩展引入器。
EXTENSION_LABEL [static]System.ByterGif 注释块扩展标签。
评论stringr/w获取或设置注释。请注意,注释必须使用 ASCII 编码,并将相应存储。
is_changedboolr/w获取或设置一个值,指示块是否已更改并需要保存。

Methods

Name描述
save(stream)将块保存到指定的流。

Constructor: GifCommentBlock()

 GifCommentBlock() 

初始化 GifCommentBlock 类的新实例。

Constructor: GifCommentBlock(comment)

 GifCommentBlock(comment) 

初始化 GifCommentBlock 类的新实例。

Parameters:

参数TypeDescription
评论string评论。

Method: save(stream)

 save(stream) 

将块保存到指定的流。

Parameters:

参数TypeDescription
_io.BufferedRandom保存数据的流。