Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ImageCollection<TImage, TInfo>.GetImage Method

Name Parameters Description
GetImage(Int32, ISvgPaletteProvider, Nullable<Size>, Nullable<SvgImageColorizationMode>) index, palette, size, imageColorizationMode 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>) index, palette, scaleFactor, size, imageColorizationMode 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>) index, size, imageColorizationMode 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>) index, scaleFactor, size, imageColorizationMode 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>) name, palette, size, imageColorizationMode 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>) name, palette, scaleFactor, size, imageColorizationMode 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>) name, size, imageColorizationMode 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>) name, scaleFactor, size, imageColorizationMode 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.