The IMAGE function returns an image within a cell. The function inserts images into cells, instead of letting it float on top. This way you can move and resize cells, sort and filter, and work with images easily.
=IMAGE(source,[alt_text],[sizing],[height],[width])
The function has the following arguments:
Argument |
Description |
---|---|
source |
The location of the image on the web (Supported file formats include BMP, JPG/JPEG, GIF,TIFF, PNG, ICO, and WEBP) |
alt_text |
[optional] Alternative text that describes the image. |
sizing |
[optional] Specifies the image dimensions. Possible values are as follows:
|
height |
[optional] Refers to the height of the image only when sizing 3 option is used. |
width |
[optional] Refers to the width of the image only when sizing 3 option is used. |
The function returns an image.
This function is available in product version 16.0 or later.
Spread for WinForms provides the GC.IMAGE function to place an image in a cell. For more information about GC.IMAGE function, refer to the Image Sparkline topic. You can also insert an image in a cell. To learn more about adding images in the cell, see Adding Image in a Cell topic.