ExcelImage
Excel image metadata for cell export.
Props
The following table outlines the props for the ExcelImage:
| Name | Type | Default | Description |
|---|---|---|---|
| altText | string | - | Alternative text for accessibility |
| base64 | string | - | Base64-encoded image data (e.g., 'data:image/png;base64,...'). When provided, this is preferred and will be stripped before workbook insertion. |
| column | number | - | The column index of the top-left cell in the merged range. |
| height | number | - | Image height in pixels |
| image | string | - | Base64-encoded image data (e.g., 'data:image/png;base64,...').
Either |
| lastColumn | number | - | The column index of the last cell in the merged range |
| lastRow | number | - | The row index of the last cell in the merged range |
| row | number | - | The row index of the top-left cell in the merged range. |
| url | string | - | External URL to image resource |
| width | number | - | Image width in pixels |