How can I help you?
Image
16 Mar 20261 minute to read
Defines image placement and offset options used when exporting pivot content to Excel.
Extends the base Image shape with precise pixel offsets to control the image position
relative to the starting cell when the workbook is generated.
Example:
const img: PivotImage = { base64: ‘…’, width: 100, height: 50, firstRowOffset: 5, firstColumnOffset: 10 };
Properties
base64 string
Defines the base 64 string for image
firstColumnOffset number
Horizontal offset in pixels from the left edge of the starting column.
Use this to fine-tune horizontal positioning of the image inside the target cell.
firstRowOffset number
Vertical offset in pixels from the top edge of the starting row.
Use this to fine-tune vertical positioning of the image inside the target cell.
height number
Defines the height for the image
width number
Defines the height for the image