-
-
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
AddPicture's OffsetY Method will cause the image to be displayed incorrectly #1560
Comments
Thanks for your issue. Your provided repository was not found, could you provide a workbook and image as attachments without confidential info? |
@xuri Thank you for responding so quickly! Here is the correct URL without confidential info: |
Thanks for your feedback. I have fixed this issue, please try to upgrade the master branch code, and this patch will be released in the next version. |
Thank you very much for your response. This project has been extremely helpful to me! |
Description
(想知道為何OffsetY一旦>=20就會使圖片跑版,謝謝)
I want to place two pictures in a cell using the
AddPicture
Method, but when myOffsetY
is greater than 20, the position of the pictures becomes incorrect.Describe the results you received:
This is the result when OffsetY is 19.
This is the result when OffsetY is 20.
The image that was supposed to be in cell A1 has shifted to A2.
I have also tried using
AutoFit: true
but it didn't solve my problem.Here's my code:
here's the repository
https://github.com/jacobLiou1225/API-AddPicture-Question.git
Excelize version or commit ID: 2.7.1
golang version 1.19
Environment details : windows 10 21H2
Any help on this issue would be greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: