GifPlainTextRenderingBlock

GifPlainTextRenderingBlock class

Gif plain text extension block. The plain text extension contains textual data and the parameters necessary to render that data as a graphic, in a simple form.

public class GifPlainTextRenderingBlock : GifBlock

Constructors

Name Description
GifPlainTextRenderingBlock() Initializes a new instance of the GifPlainTextRenderingBlock class.
GifPlainTextRenderingBlock(ushort, ushort, ushort, ushort, byte, byte, byte, byte, byte[]) Initializes a new instance of the GifPlainTextRenderingBlock class.

Properties

Name Description
CharacterCellHeight { get; set; } Gets or sets the character cell height, in pixels, of each cell in the grid.
CharacterCellWidth { get; set; } Gets or sets the character cell width, in pixels, of each cell in the grid.
IsChanged { get; set; } Gets or sets a value indicating whether block has changed and requires save.
PlainTextData { get; set; } Gets or sets the plain text data.
TextBackgroundColorIndex { get; set; } Gets or sets the index of the color in the global color palette used to draw the text background.
TextForegroundColorIndex { get; set; } Gets or sets the index of the color in the global color palette used to draw the text foreground.
TextGridHeight { get; set; } Gets or sets the text grid height in pixels
TextGridLeftPosition { get; set; } Gets or sets the text grid left position.
TextGridTopPosition { get; set; } Gets or sets the text grid top position.
TextGridWidth { get; set; } Gets or sets the text grid with in pixels

Methods

Name Description
override Save(Stream) Saves the block to the specified stream.

Fields

Name Description
const BlockSize The overall block size.
const ExtensionLabel The plain text extension label.
const SubBlockSize The size of the sub block.

See Also