The base class for a component of a Graphics Interchange File data stream.
|C#||Visual Basic||Visual C++|
public abstract class GifComponent
Public MustInherit Class GifComponent
public ref class GifComponent abstract
Constructor. This is implicitly called by constructors of derived types.
Application extension label - identifies the current block as a ApplicationExtension. Value 0xFF.
Comment label - identifies the current block as a comment extension. Value 0xFE. TODO: add see cref once CommentExtension class is implemented.
Extension introducer - identifies the start of an extension block. Value 0x21.
Graphic control label - identifies the current block as a GraphicControlExtension. Value 0xF9.
Image separator - identifies the start of an ImageDescriptor. Value 0x2C.
Plain text label - identifies the current block as a plain text extension. Value 0x01. TODO: add see cref once PlainTextExtension class implemented
Trailer - This is a single-field block indicating the end of the GIF data stream. Value 0x3B.
Gets the status of this component, consisting of its error state and any associated error message.
Gets the combined error states of this component and all its child components.
Gets any error message associated with the component's error state.
Gets the member of the Gif.Components.ErrorState enumeration held within the ComponentStatus property.
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.(Inherited from Object.)
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Reads a single byte from the input stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Reads next 16-bit value, least significant byte first, and advances the position within the stream by two bytes.
Sets the ComponentStatus property of thie GifComponent.
Skips variable length blocks up to and including next zero length block (block terminator).
Tests whether the error state of this component or any of its member components contains the supplied member of the ErrorState enumeration.
Gets a string representation of the error status of this component and its subcomponents.(Overrides Object.ToString()()().)
Writes the least significant byte of the supplied value to the supplied stream. The first 3 bytes of the supplied value are discarded.
Writes a 16-bit value to the supplied output stream, least-significant byte first. The first two bytes in the supplied value are discarded.
Writes the supplied string to the supplied output stream
Appends the current GifComponent to the supplied output stream.
Assembly: GifComponents (Module: GifComponents) Version: 0.1.3594.26453