Posted 2 October 2023, 6:39 pm EST
I use this 2 in a form, is double size in spread but in Excel it’s the same size.
in here it’s the same size to
Forums Home / Spread / Spread for WinForms
Posted by: patrik on 2 October 2023, 6:39 pm EST
Posted 2 October 2023, 6:39 pm EST
I use this 2 in a form, is double size in spread but in Excel it’s the same size.
in here it’s the same size to
Posted 3 October 2023, 4:53 am EST - Updated 3 October 2023, 4:58 am EST
Hi Patrik,
As per our understanding, you are adding the two images(gray and black square) in your form containing the FpSpread control. The issue is that the black square image is loaded double in size to that of the gray one.
We tried to replicate the issue by trying the following steps:
Approach I:
Downloaded the images(gray and black square) from the comment you have posted. Dimensions of both the downloaded images is 72px x 72px.
Inserted these images in an excel file.
Loaded the excel file in fpSpread control and run the application.
Observation: Application worked fine. Please see the following image:
Approach II:
Observation: Application worked fine. Please see the following image:
Kindly check the attached file containing the sample application and the images we loaded. squareImage.zip
We request you please provide us the exact steps to replicate the issue on our end. We would appreciate if you could provide us an stripped down version of the sample application that shows the issue.
Additionally, please provide us the following information:
Thanks & Regards,
Aastha
Posted 3 October 2023, 10:40 pm EST - Updated 3 October 2023, 10:47 pm EST
Hi Aastha
Thanks for your replay.
If you go in to edit my post you see that it’s not image,It’s font,
Font that have same size in this forum. even when I PDF the spread or export to excel.
It’s only when show it in spread they have different size.
Posted 4 October 2023, 2:23 am EST
Hi Patrik,
Thanks for giving a clearer understanding of the issue. We could replicate the issue with the latest build(16.2.20231.0) as well on Win11 machine. However we could not replicate the issue on Win 10 machine. This seems to be a bug.
We have escalated this issue to the developers with internal tracking ID: SPNET-34076.
I can’t upgrade to version 16 because of bug
We are sorry but the issues are fixed in the upcoming builds only, therefore upgrade will be required to get the fix of the issue. We will update you with the fix version as soon as we get the information from the developers.
Thanks & Regards,
Aastha
Posted 28 May 2024, 6:50 am EST
It’s still have this bug in version 17 latest version.
Posted 28 May 2024, 6:50 am EST
I mean about the font size
Posted 29 May 2024, 3:19 am EST
Hello Patrik,
We are getting in touch with the developers to get an update on this. We will update you soon on this.
Regards,
Prabhat Sharma.
Posted 30 May 2024, 11:02 am EST
Hi Patrik,
The developers have provided us with the information that this issue is not just specific to Spread. This issue can be replicated with the native controls of WinForms as well.
The default font (Calibri) doesn’t support those 2 characters (you can see supported characters here: https://www.fileformat.info/info/unicode/font/calibri/list.htm When we paint those character, system will detect and use fallback font. Spread doesn’t support customizing this fallback process like Excel. That’s why we paint those 2 characters as same as native controls of WinForms show. You can try to show it in Microsoft WinForms RichTextBox or TextBox control for more details.
Therefore, this is a limitation for now.
We apologize for any inconvenience this may have caused.
Thanks & Regards,
Aastha