Hi
Thank you for your inquiry.
I have tested the code you provided and encounter the same issue as you.
please refer to the following code and have a test:
- Code: Select all
sheet.SaveToImage(@"E:\\Test\\ExceltoImage.png", ImageFormat.Png);
Here is a screenshot of my test screen:
- 3.png (22.85 KiB) Viewed 2265 times
If my code doesn’t help you, please offer the following information to help us do further investigation. Thank you in advance.
1)Your input excel file, you can attach here or send it to us via email (
[email protected]).
2)Your full test code that can reproduce your issue.
3)Application type, such as Console App, .NET Framework 4.8.
4) Your test environment, such as OS info (E.g. Windows 7, 64-bit).
Sincerely,
Ula
E-iceblue support team