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. |
imageFile |
ALPHA(n) |
Name of the image file. |
scaleFactor |
NUM_E(15,9) |
Magnification. |
rc |
NUM_BIN_4 |
Function return code (see Error codes constants).
Output parameter. |