All docs
V19.2
21.1 (EAP/Beta)
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

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 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 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(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, Nullable<Size>) name, size Returns a regular raster image of the desired size. The image is produced from a source vector image. Returns null if the collection has no vector image with the given name.