Font.DoubleSize - can't get non integer values


i need to get the font size from excel.

the font size in my excel file is set to 12.5

Font Size in Aspose shows 12



I have found the issue using your scenario. I have logged your issue into our issue tracking system with an id: CELLSNET-20330. We will figure it out soon.

Thank you.


Please try the attached version. We have fixed the issue now.

Thank you.

The issues you have found earlier (filed as 20330) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.


I am using Aspose.Cells 17.12 and still able to notice the same Issue.
Can you please look into it?


Please share your sample file and code snippet with us for our testing. We will reproduce the problem and provide our feedback after analysis because the older ticket seems to be lost and we need to re-log and re-evaluate with your details.

My project is a little complex, but I’ve made a sample project to replicate this issue.
Please find the code snipped attached below :
AsposeFontIssue.jpeg (46.6 KB)

I’m trying to set the font size as 12.5 but I get font_new as 12 while retrieving.
Please look into it.


Thanks for the sample code.

Please change the line of code from your code segment:

flag.FontSize = true;


flag.Font = true;

it will work fine as I tested.


Thanks a lot for the help.
It worked fine.


Good to know that your issue is sorted out by the suggested line of code. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.