Skip to main content

ImageCollection<TImage, TInfo> Methods

A base class that provides API for the DevExpress.Utils.SvgImageCollection component.
Name Description
Add(TImage) Adds a specific image to this collection.
Add(String, TImage) Adds a specific image to this collection.
Add(String, String, String) Adds an image from the resource assembly to this collection.
Add(String, String, Type) Adds a resource image to this collection.
Add(String, String) Adds an image to this collection by its URI.
AddRange(IEnumerable<TImage>) Adds multiple images to this collection.
BeginInit() Starts the collection’s initialization.
Clear() Removes all images from this collection.
Contains(TImage) Checks whether this collection contains the target image.
ContainsKey(String) Checks whether this collection has an image with the specific name.
CopyTo(TImage[], Int32) Copies all collection images to the specific array.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
Dispose(Boolean) protected Releases the unmanaged resources used by the Component and optionally releases the managed resources. Inherited from Component.
EndInit() Finalizes the collection initialization.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImage(Int32, ISvgPaletteProvider, Nullable<Size>, Nullable<SvgImageColorizationMode>) Returns a regular raster image of a specific size. This raster image is produced from a source vector image, and colorized according to the provided palette. Throws the ArgumentOutOfRangeException if the collection has no vector image with the given index.
GetImage(Int32, ISvgPaletteProvider, Single, Nullable<Size>, Nullable<SvgImageColorizationMode>) Returns a regular raster image of a specific size, scaled according to the size multiplier. This raster image is produced from a source vector image. Throws the ArgumentOutOfRangeException if the collection has no vector image with the given index.
GetImage(Int32, Nullable<Size>, Nullable<SvgImageColorizationMode>) Returns a regular raster image of the desired size. The image is produced from a source vector image. Throws the System.ArgumentOutOfRangeException if the collection has no vector image with the given index.
GetImage(Int32, Single, Nullable<Size>, Nullable<SvgImageColorizationMode>) Returns a regular raster image of the desired size, scaled according to the size multiplier. The image is produced from a source vector image. Throws the ArgumentOutOfRangeException if the collection has no vector image with the given index.
GetImage(String, ISvgPaletteProvider, Nullable<Size>, Nullable<SvgImageColorizationMode>) Returns a regular raster image of a specific size. This raster image is produced from a source vector image, and colorized according to the provided palette. Returns null if the collection has no vector image with the given name.
GetImage(String, ISvgPaletteProvider, Single, Nullable<Size>, Nullable<SvgImageColorizationMode>) Returns a regular raster image of a specific size, scaled according to the size multiplier. This raster image is produced from a source vector image and colorized according to the provided palette. Returns null if the collection has no vector image with the given name.
GetImage(String, Nullable<Size>, Nullable<SvgImageColorizationMode>) Returns a regular raster image of a specified size. The image is produced from a source vector image. Returns null if the collection has no vector image with the given name.
GetImage(String, Single, Nullable<Size>, Nullable<SvgImageColorizationMode>) Returns a regular raster image of the desired size, scaled according to the size multiplier. The image is produced from a source vector image. Returns null if the collection has no vector image with the given name.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(TImage) Returns the collection index of the specific image.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
Insert(Int32, TImage) Adds the specific image to this collection, , and places this image to the specific position.
Insert(Int32, String, TImage) Adds the specific image to this collection, and places it to the specific position.
Insert(Int32, String, String, String) Adds an image from the assembly to this collection, and places this image to the specific position.
Insert(Int32, String, String, Type) Adds an image from resources, and places this image to the specific position.
Insert(Int32, String, String) Adds an image to this collection by its URI, and places this image to the specific position.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(TImage) Removes the image from this collection.
RemoveAt(Int32) Removes an image with the specific index from this collection.
RemoveAt(String) Removes an image with the specific name from this collection.
SetKeyName(TImage, String) Renames the target SvgImageCollection image.
SetKeyName(Int32, String) Renames the target SvgImageCollection image.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
See Also