Skip to main content
A newer version of this page is available. .

ImageCollection<TImage, TInfo>.GetImage Method

Name Parameters Description
GetImage(Int32, ISvgPaletteProvider, Nullable<Size>) index, palette, size Returns a regular raster image of the 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>) index, palette, scaleFactor, size Returns a regular raster image of the specific size, scaled according to the size multiplier. This raster 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, Nullable<Size>) index, size Returns a regular raster image of the specified size. The image is produced from a source vector image. Throws the ArgumentOutOfRangeException if the collection has no vector image with the given index.
GetImage(Int32, Single, Nullable<Size>) index, scaleFactor, size 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 System.ArgumentOutOfRangeException if the collection has no vector image with the given index.
GetImage(String, ISvgPaletteProvider, Nullable<Size>) name, palette, size Returns a regular raster image of the 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>) name, palette, scaleFactor, size Returns a regular raster image of the 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>) name, size Returns a regular raster image of the 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>) name, scaleFactor, size 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.