Class GifCommentBlock
Le nom : Aspose.Imaging.FileFormats.Gif.Blocks Assemblée: Aspose.Imaging.dll (25.4.0)
Gif blocage de commentaire.
[JsonObject(MemberSerialization.OptIn)]
public class GifCommentBlock : GifBlock, IGifBlock
Inheritance
object ← GifBlock ← GifCommentBlock
Implements
I membri ereditari
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()
Initialisez une nouvelle instance de la classe Aspose.Imaging.FileFormats.Gif.Blocks.
public GifCommentBlock()
GifCommentBlock(Le string)
Initialisez une nouvelle instance de la classe Aspose.Imaging.FileFormats.Gif.Blocks.
public GifCommentBlock(string comment)
Parameters
comment
string
Il commento .
Fields
BlockHeaderSize
Définir la taille du bloc.
public const int BlockHeaderSize = 2
Valore di campo
ExtensionLabel
Gif commentaire bloque l’étiquette d’extension.
public const byte ExtensionLabel = 254
Valore di campo
Properties
Comment
Remarque que le commentaire doit utiliser le codage ASCII et sera enregistré en conséquence.
public string Comment { get; set; }
Valore di proprietà
Methods
Save(Stream)
Économisez le bloc au courant spécifié.
public override void Save(Stream stream)
Parameters
stream
Stream
Le flux pour sauvegarder les données.