GifFrameCollection Class |
The GifFrameCollection class represents an animated GIF file. It contains all of the frames and properties for the animation.
Namespace: Atalasoft.Imaging.Codec
The GifFrameCollection type exposes the following members.
Name | Description | |
---|---|---|
GifFrameCollection | Creates a new instance of GifFrameCollection. |
Name | Description | |
---|---|---|
BackgroundColorIndex | Gets or sets the index in the global palette used as the background color for the animation canvas.
| |
Capacity | Gets or sets the number of elements that the CollectionBase can contain. (Inherited from CollectionBase.) | |
Count | Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden. (Inherited from CollectionBase.) | |
GlobalPalette | Gets or sets the palette used by frames in the GIF. | |
Height | Gets or sets the height of the animation canvas. | |
InnerList | Gets an ArrayList containing the list of elements in the CollectionBase instance. (Inherited from CollectionBase.) | |
Item | Gets a GifFrame at the specified index. | |
List | Gets an IList containing the list of elements in the CollectionBase instance. (Inherited from CollectionBase.) | |
LoopCount | Gets or sets the number of times to loop through the animation. | |
TransparentIndex | Gets or sets the index in the global palette which represents the transparent color. | |
Width | Gets or sets the width of the animation canvas. |
Name | Description | |
---|---|---|
Add | Adds a frame to the collection. | |
Clear | Removes all objects from the CollectionBase instance. This method cannot be overridden. (Inherited from CollectionBase.) | |
Contains | Checks to see if a specific frame already exists in the collection. | |
CopyTo | Copies the GifFrames into an array. | |
Dispose | Releases all of the frames from the collection. | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Finalizes an instance of the GifFrameCollection class.
(Overrides ObjectFinalize.) | |
GetEnumerator | Returns an enumerator that iterates through the CollectionBase instance. (Inherited from CollectionBase.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Looks up the index for a specific frame. | |
Insert | Inserts a frame into the collection at the specified position. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnClear | Performs additional custom processes when clearing the contents of the CollectionBase instance. (Inherited from CollectionBase.) | |
OnClearComplete | Performs additional custom processes after clearing the contents of the CollectionBase instance. (Inherited from CollectionBase.) | |
OnInsert | Performs additional custom processes before inserting a new element into the CollectionBase instance. (Inherited from CollectionBase.) | |
OnInsertComplete | Performs additional custom processes after inserting a new element into the CollectionBase instance. (Inherited from CollectionBase.) | |
OnRemove | Performs additional custom processes when removing an element from the CollectionBase instance. (Inherited from CollectionBase.) | |
OnRemoveComplete | Performs additional custom processes after removing an element from the CollectionBase instance. (Inherited from CollectionBase.) | |
OnSet | Performs additional custom processes before setting a value in the CollectionBase instance. (Inherited from CollectionBase.) | |
OnSetComplete | Performs additional custom processes after setting a value in the CollectionBase instance. (Inherited from CollectionBase.) | |
OnValidate | Performs additional custom processes when validating a value. (Inherited from CollectionBase.) | |
Remove | Removes a frame from the collection. | |
RemoveAt | Removes the element at the specified index of the CollectionBase instance. This method is not overridable. (Inherited from CollectionBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |