Products Downloads


French version


 

 

Adds an image to the workbook.

The image must be in a format supported by the Java ImageIO API, or by default BMP, GIF, PNG or JPEG.

It will be converted if necessary into a format supported by Excel (PNG or JPEG depending on the context).

 

Parameters

workbookHandle

NUM_BIN_4

Workbook handle.

selection

ALPHA(n)

Position of the image in a range of selected cells.
The position must reference a single cell specifying the upper left corner of the image (in this case the picture will be cropped automatically), or a range of cells showing the upper left and lower right corners of the image (the image will then by stretched accordingly).

imageFile

ALPHA(n)

Name of the image file.

scaleFactor

NUM_E(15,9)

Magnification.
This parameter is taken into account only if the selection references only the upper left corner of the image.

rc

NUM_BIN_4

Function return code (see Error codes constants).

 

Output parameter.

 

 

 

 

↑ Top of page


  • Aucune étiquette