Classe GifCommentBlock

Summary: Gif comment block.

Module: aspose.imaging.fileformats.gif.blocks

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

Inheritance: IGifBlock, GifBlock

Constructors

NameDescription
GifCommentBlock()Initialise une nouvelle instance de la classe GifCommentBlock.
GifCommentBlock(comment)Initialise une nouvelle instance de la classe GifCommentBlock.

Properties

NameTypeAccessDescription
BLOCK_HEADER_SIZE [static]intrDéfinit la taille de l’en-tête du bloc.
EXTENSION_INTRODUCER [static]System.ByterIntroduiseur d’extension.
EXTENSION_LABEL [statique]System.ByterÉtiquette d’extension du bloc de commentaire Gif.
commentairestringr/wObtient ou définit le commentaire. Notez que le commentaire doit utiliser l’encodage ASCII et sera stocké en conséquence.
is_changedboolr/wObtient ou définit une valeur indiquant si le bloc a changé et nécessite une sauvegarde.

Methods

NameDescription
save(stream)Enregistre le bloc dans le flux spécifié.

Constructor: GifCommentBlock()

 GifCommentBlock() 

Initialise une nouvelle instance de la classe GifCommentBlock.

Constructor: GifCommentBlock(comment)

 GifCommentBlock(comment) 

Initialise une nouvelle instance de la classe GifCommentBlock.

Parameters:

ParamètreTypeDescription
commentairestringLe commentaire.

Method: save(stream)

 save(stream) 

Enregistre le bloc dans le flux spécifié.

Parameters:

ParamètreTypeDescription
flux_io.BufferedRandomLe flux où enregistrer les données.