-
Notifications
You must be signed in to change notification settings - Fork 1.7k
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to insert image FIT inside a cell ? #1029
Comments
I noticed that I can insert image fit inside a range but wonder how I can do that with cell? worksheet.addImage(imageId2, 'B2:D6'); |
See the example of add image to a cell.
|
Thanks for opening this request. |
It doesn't fit cell |
Not sure if you still need this, but what I did was using the same sheet.addImage(imageId, `${cellId}:${cellId}`) Example: sheet.addImage(imageId, `J13:J13`) |
Great, that is what I need! Thank you |
how to fit but have margin ? because i have border of the row and make it gone when use fit ?
|
Thanks for the great package. I want to insert image inside a cell. Currently, I'm using fixed width and height, but have no idea how to make image size fit inside a cell. How can I do that with
exceljs
? Thanks in advance !I want to
The text was updated successfully, but these errors were encountered: