The Graphic Control Extension contains parameters used when processing
a graphic rendering block. The scope of this extension is the first
graphic rendering block to follow. The extension contains only one
data sub-block.
This block is OPTIONAL; at most one Graphic Control Extension may
precede a graphic rendering block. This is the only limit to the number
of Graphic Control Extensions that may be contained in a Data Stream.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class GraphicControlExtension : GifComponent
Public Class GraphicControlExtension _ Inherits GifComponent
public ref class GraphicControlExtension : public GifComponent
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
GraphicControlExtension(Int32, DisposalMethod, Boolean, Boolean, Int32, Int32) |
Constructor.
| |
BlockSize |
Number of bytes in the block, after the Block Size field and up to
but not including the Block Terminator.
This field contains the fixed value 4.
| |
ComponentStatus |
Gets the status of this component, consisting of its error state
and any associated error message.
(Inherited from GifComponent.) | |
ConsolidatedState |
Gets the combined error states of this component and all its child
components.
(Inherited from GifComponent.) | |
DelayTime |
If not 0, this field specifies the number of hundredths (1/100)
of a second to wait before continuing with the processing of the
Data Stream.
The clock starts ticking immediately after the graphic is rendered.
This field may be used in conjunction with the User Input Flag field.
| |
DisposalMethod |
Indicates the way in which the graphic is to be treated after being
displayed.
| |
Equals(Object) | (Inherited from Object.) | |
ErrorMessage |
Gets any error message associated with the component's error state.
(Inherited from GifComponent.) | |
ErrorState |
Gets the member of the Gif.Components.ErrorState enumeration held
within the ComponentStatus property.
(Inherited from GifComponent.) | |
ExpectedBlockSize |
The expected block size for a Graphic Control Extension
| |
ExpectsUserInput |
Indicates whether or not user input is expected before continuing.
If the flag is set, processing will continue when user input is
entered.
The nature of the User input is determined by the application
(Carriage Return, Mouse Button Click, etc.).
Values : 0 - User input is not expected.
1 - User input is expected.
When a Delay Time is used and the User Input Flag is set,
processing will continue when user input is received or when the
delay time expires, whichever occurs first.
| |
Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FromStream(Stream) |
Reads and returns a graphic control extension from the supplied
input stream.
| |
GetHashCode()()() | 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.) | |
GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
HasTransparentColour |
Indicates whether a transparency index is given in the Transparent
Index field.
| |
MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetStatus(ErrorState, String) |
Sets the ComponentStatus property of thie GifComponent.
(Inherited from GifComponent.) | |
TestState(ErrorState) |
Tests whether the error state of this component or any of its member
components contains the supplied member of the ErrorState
enumeration.
(Inherited from GifComponent.) | |
ToString()()() |
Gets a string representation of the error status of this component
and its subcomponents.
(Inherited from GifComponent.) | |
TransparentColourIndex |
The Transparency Index is such that when encountered, the
corresponding pixel of the display device is not modified and
processing goes on to the next pixel.
The index is present if and only if the Transparency Flag is set
to 1.
| |
WriteToStream(Stream) |
Writes this component to the supplied output stream.
(Overrides GifComponent.WriteToStream(Stream).) |
Inheritance Hierarchy
Object | ||
GifComponent | ||
GraphicControlExtension |