Class GifApplicationExtensionBlock
- Namespace
- Aspose.Imaging.FileFormats.Gif.Blocks
- Assembly
- Aspose.Imaging.dll
Gif application extension block.
public class GifApplicationExtensionBlock : GifBlock, IGifBlock
- Inheritance
-
GifApplicationExtensionBlock
- Implements
- Inherited Members
Constructors
GifApplicationExtensionBlock()
Initializes a new instance of the GifApplicationExtensionBlock class.
public GifApplicationExtensionBlock()
GifApplicationExtensionBlock(string, byte[], byte[])
Initializes a new instance of the GifApplicationExtensionBlock class.
public GifApplicationExtensionBlock(string applicationIdentifier, byte[] applicationAuthenticationCode, byte[] applicationData)
Parameters
applicationIdentifier
stringThe application identifier.
applicationAuthenticationCode
byte[]The application authentication code.
applicationData
byte[]The application data.
Fields
ApplicationAuthenticationCodeSize
Specifies the application authentication code size.
public const int ApplicationAuthenticationCodeSize = 3
Field Value
ApplicationIdentifierSize
Specifies the application identifier size.
public const int ApplicationIdentifierSize = 8
Field Value
BlockHeaderSize
Specifies the block header size.
public const int BlockHeaderSize = 14
Field Value
BlockSize
Extension name + version block size
public const byte BlockSize = 11
Field Value
ExtensionLabel
Extension label.
public const byte ExtensionLabel = 255
Field Value
Properties
ApplicationAuthenticationCode
Gets or sets the application authentication code.
public byte[] ApplicationAuthenticationCode { get; set; }
Property Value
- byte[]
The application authentication code.
ApplicationData
Gets or sets the application data.
public byte[] ApplicationData { get; set; }
Property Value
- byte[]
The application data.
ApplicationIdentifier
Gets or sets the application identifier.
public string ApplicationIdentifier { get; set; }
Property Value
- string
The application identifier.
Methods
Save(Stream)
Saves the block to the specified stream.
public override void Save(Stream stream)
Parameters
stream
StreamThe stream to save data to.