Click or drag to resize

GifFrameCollection Class

The GifFrameCollection class represents an animated GIF file. It contains all of the frames and properties for the animation.

Inheritance Hierarchy
SystemObject
  System.CollectionsCollectionBase
    Atalasoft.Imaging.CodecGifFrameCollection

Namespace:  Atalasoft.Imaging.Codec
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class GifFrameCollection : CollectionBase, 
	IDisposable

The GifFrameCollection type exposes the following members.

Constructors
  NameDescription
Public methodGifFrameCollection
Creates a new instance of GifFrameCollection.
Top
Properties
  NameDescription
Public propertyBackgroundColorIndex
Gets or sets the index in the global palette used as the background color for the animation canvas.
Public propertyCapacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Public propertyCount
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.)
Public propertyGlobalPalette
Gets or sets the palette used by frames in the GIF.
Public propertyHeight
Gets or sets the height of the animation canvas.
Protected propertyInnerList
Gets an ArrayList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Public propertyItem
Gets a GifFrame at the specified index.
Protected propertyList
Gets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.)
Public propertyLoopCount
Gets or sets the number of times to loop through the animation.
Public propertyTransparentIndex
Gets or sets the index in the global palette which represents the transparent color.
Public propertyWidth
Gets or sets the width of the animation canvas.
Top
Methods
  NameDescription
Public methodAdd
Adds a frame to the collection.
Public methodClear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public methodContains
Checks to see if a specific frame already exists in the collection.
Public methodCopyTo
Copies the GifFrames into an array.
Public methodDispose
Releases all of the frames from the collection.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the GifFrameCollection class.
(Overrides ObjectFinalize.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Looks up the index for a specific frame.
Public methodInsert
Inserts a frame into the collection at the specified position.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnClear
Performs additional custom processes when clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnClearComplete
Performs additional custom processes after clearing the contents of the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnInsert
Performs additional custom processes before inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnInsertComplete
Performs additional custom processes after inserting a new element into the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnRemove
Performs additional custom processes when removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnRemoveComplete
Performs additional custom processes after removing an element from the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnSet
Performs additional custom processes before setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnSetComplete
Performs additional custom processes after setting a value in the CollectionBase instance.
(Inherited from CollectionBase.)
Protected methodOnValidate
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.)
Public methodRemove
Removes a frame from the collection.
Public methodRemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also