Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Fri Mar 17, 2023 8:12 am

Hi Team,

We are trying to achieve a functionality. In which we have to copy the excel cells as image and paste this image into Word file as picture.

Till now using SPIRE we captured the image and pasted in word, that is working absolute fine.

Problem: While capturing image and paste it in word file there is some small difference in font. Attached Automated-file which is created by Spire. Image 3rd Mannual-copy copied the excel cells and pasted in the word directly in word as picture.

So the difference is when we copy excel cells and paste the content as picture in word, it's looking exactly same as excel. But when we trying to achieve it through Spire, font style are not matching exactly same.

Image compared.png will explain you my concern.

I'm hoping you can help me get this matter resolved.
Attachments
compared.png
Comparison between both
compared.png (226.4 KiB) Viewed 2361 times
Automated-file.png
Using spire please compare font are not matching its getting bolder and bigger than original one.
Automated-file.png (254.07 KiB) Viewed 2361 times
Mannual-copy.png
This file is manually copied the excel cells and pasted in word as picture
Mannual-copy.png (44.96 KiB) Viewed 2361 times

ravi.kumar
 
Posts: 4
Joined: Fri Mar 17, 2023 7:43 am

Fri Mar 17, 2023 9:13 am

Hi,

Thanks for your feedback.
Could you please provide us with the following messages to help us reproduce your issue and work out a solution for you? You can send them to us via email (support@e-iceblue.com) or attach them here. Thanks for your corporation.
1) your test document.
2) your test code.
3) the version of Spire.XLS you are using.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Fri Mar 17, 2023 11:40 am

Code URL has been attached in image caption, please copy it editor not allowing me to paste here.

In this code we have an excel file by this we are taking screenshot of excel cells. And making picture of excel cells.
With same excel if I copy cells and paste it without any code left image1 will display, which is perfectly closed to excel.
If I capture image by Spire font are getting bold.

Spire version: 13.3.1
Attachments
compared.png
Left image is manual and right one is Spire image code URL https://github.com/ravikmr474/capture-image-spire
compared.png (221.29 KiB) Viewed 2344 times

ravi.kumar
 
Posts: 4
Joined: Fri Mar 17, 2023 7:43 am

Mon Mar 20, 2023 3:30 am

Hi,

Thanks for your feedback.
After testing, I reproduced your issue and logged it into our issue tracking system with the ticket number SPIREXLS-4565. Our developers will investigate and fix it. Sorry for the inconvenience caused. Once the issue is fixed, I will inform you asap.

Sincerely,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Wed Mar 22, 2023 10:11 am

Triste.Dai wrote:Hi,

Thanks for your feedback.
After testing, I reproduced your issue and logged it into our issue tracking system with the ticket number SPIREXLS-4565. Our developers will investigate and fix it. Sorry for the inconvenience caused. Once the issue is fixed, I will inform you asap.

Sincerely,
Triste
E-iceblue support team



Can you please provide update on this?

ravi.kumar
 
Posts: 4
Joined: Fri Mar 17, 2023 7:43 am

Thu Mar 23, 2023 1:39 am

Hi,

Thanks for your following-up.
Our development team is currently working on this issue, and we will update you as soon as it is available. Please rest assured that we take all reported issues seriously and spare us more time. Thank you for your patience and understanding.

Best regards,
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Fri Mar 24, 2023 8:39 am

Hi,

Thanks for your patience.
Based on investigations conducted by our development team, we can confirm that the font rendering data is not the cause of the problem. Rather, it appears to be an issue arising from the differing display mechanisms employed by various file types.
Thank you for reaching out to us. Please don't hesitate to contact us if you have any further concerns or queries.

Best regards.
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Tue Apr 04, 2023 9:32 am

So you don't have any solution for that issue?

ravi.kumar
 
Posts: 4
Joined: Fri Mar 17, 2023 7:43 am

Tue Apr 04, 2023 10:07 am

Hi,

Thanks for your inquiry.
We understand that this may be inconvenient for you and appreciate your patience and understanding during this process. Unfortunately, we do not have any other solutions currently to address this issue.
If you have any additional questions or concerns, please feel free to reach out to us. Thank you for using our product and for bringing this issue to our attention.

Best regards.
Triste
E-iceblue support team
User avatar

Triste.Dai
 
Posts: 1000
Joined: Tue Nov 15, 2022 3:59 am

Return to Spire.XLS