Class GifUnknownExtensionBlock
Namespace: Aspose.Imaging.FileFormats.Gif.Blocks
Assembly: Aspose.Imaging.dll (25.2.0)
Gif Unknown Extension Block.
[JsonObject(MemberSerialization.OptIn)]
public class GifUnknownExtensionBlock : GifBlock, IGifBlock
Inheritance
object ← GifBlock ← GifUnknownExtensionBlock
Implements
Inherited Members
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
GifUnknownExtensionBlock()
Initializes a new instance of the Aspose.Imaging.FileFormats.Gif.Blocks.GifUnknownExtensionBlock class.
public GifUnknownExtensionBlock()
GifUnknownExtensionBlock(byte, byte[])
Initializes a new instance of the Aspose.Imaging.FileFormats.Gif.Blocks.GifUnknownExtensionBlock class.
public GifUnknownExtensionBlock(byte extensionLabel, byte[] data)
Parameters
extensionLabel
byte
The extension label.
data
byte[]
The block data.
Properties
ExtensionLabel
Gets or sets the block’s extension label.
public byte ExtensionLabel { get; set; }
Property Value
UnknownData
Gets or sets the unknown data.
public byte[] UnknownData { get; set; }
Property Value
byte[]
Methods
Save(Stream)
Saves the block to the specified stream.
public override void Save(Stream stream)
Parameters
stream
Stream
The stream to save data to.