You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
I've been trying to set the row height and the column width to the exact size in pixels of an image added to the cell, but I can't make it to fit, I've been trying with the examples given here (#182 (comment)), for example setting the column width with:
Hi,
I've been trying to set the row height and the column width to the exact size in pixels of an image added to the cell, but I can't make it to fit, I've been trying with the examples given here (#182 (comment)), for example setting the column width with:
ws.column(ws.lastUsedCol).setWidth( Math.trunc(((imageSize.width - 11) / 7) * 100 + 0.5) / 100 );
where
imageSize.width
is the pixels width but still it doesn't fit perfectly the image width, how can I implement this?Also, how can I center an image in a cell by using the position colOff and rowOff?
Thanks
The text was updated successfully, but these errors were encountered: