Images Members

Represents a collection of Image objects.

Constructors

Name Description
Images(ImageCollection) Initializes a new instance of the Images class with the specified owner.
Images(ImageCollection, Boolean) Initializes a new instance of the Images class with the specified settings.

Properties

Name Description
Count Gets the number of items in the collection.
InnerImages This member supports the internal infrastructure and is not intended to be used directly from your code.
IsFixedSize Gets a value indicating whether the collection has a fixed size.
IsReadOnly Gets a value indicating whether the collection is read-only.
IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Item[Int32] Provides indexed access to individual items in the collection.
Item[String] Provides access to the images in the collection by their names.
Keys Gets the collection of names assigned to the images in the current collection.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Methods

Name Description
Add(Image) Appends the specified image to the current collection of images.
Add(Image, String) Adds an image with the specified name to the collection.
AddImageStrip(Image) Adds images from the specified horizontal image strip to the collection.
AddImageStripVertical(Image) Adds images from the specified vertical image strip to the collection.
AddRange(IList) Adds images from the specified list to the current collection.
AddRange(Object[]) Adds an array of images to the current collection.
Clear() Clears the current collection.
Contains(Object) Gets whether the collection contains the specified element.
CopyTo(Array, Int32) Copies the collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetEnumerator() Returns an enumerator for the collection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImageFromCollection(Image, Int32, Int32, Int32, Int32) Returns an image from the image collection at the specified position within the specified height and width.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(Object) Searches for the specified Object and returns the zero-based index of the first occurrence within the collection.
Insert(Image, String, Type, Int32) Inserts an image from project resources.
Insert(Image, String, Type, Int32, String) Inserts an image from project resources.
Insert(Int32, Object) Inserts an image into the collection at the specified position.
Insert(Int32, Object, String) Inserts an image with the assigned name into the collection at the specified position.
Insert(String, String, String, Int32) Inserts an image from the target assembly.
InsertGalleryImage(String, String, Image, Int32) This member supports the internal infrastructure, and is not intended to be used directly from your code.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(Object) Removes the specified image from the collection.
RemoveAt(Int32) Removes an image at the specified position from the collection.
RemoveByName(String) Removes an image with the specified name from the collection.
SetKeyName(Int32, String) Assigns a name to the image located at the specified position within the collection.
ToArray() Copies the elements of the Images to a new array of Image objects.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also