Class GifCommentBlock

Class GifCommentBlock

名称: Aspose.Imaging.FileFormats.Gif.Blocks 收藏: Aspose.Imaging.dll (25.4.0)

GIF 评论区块。

[JsonObject(MemberSerialization.OptIn)]
public class GifCommentBlock : GifBlock, IGifBlock

Inheritance

object GifBlock GifCommentBlock

Implements

IGifBlock

继承人

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()

启动 Aspose.Imaging.FileFormats.Gif.Blocks.GifCommentBlock 类的新例子。

public GifCommentBlock()

GifCommentBlock(线条)

启动 Aspose.Imaging.FileFormats.Gif.Blocks.GifCommentBlock 类的新例子。

public GifCommentBlock(string comment)

Parameters

comment string

这个评论。

Fields

BlockHeaderSize

定义区块标题大小。

public const int BlockHeaderSize = 2

领域价值

int

ExtensionLabel

Gif 评论阻止扩展标签。

public const byte ExtensionLabel = 254

领域价值

byte

Properties

Comment

收到或设置评论. 请注意,该评论必须使用 ASCII 编码,并将按此存储。

public string Comment { get; set; }

财产价值

string

Methods

Save(Stream)

节省区块到指定的流。

public override void Save(Stream stream)

Parameters

stream Stream

流来保存数据。

 中文