Free Support Forum - aspose.com

StyleName.Font.Size

Hi,

I am using Aspose.cells for the excel report generation. I am trying to setup styles for the workbook and trying to assign value for Font Size. But Aspose.cells styles does not accepts the Non-Integer value for eg. 8.5. It only accepts Int value. Do we have any provision to use Non-Int value.

Thanks in Advance.

Sanjeev Gharmode

Aspose.cells.Font.Size does not accepts float value

Hi,

Yes, Font.Size only accepts integer values, we will check if we can enhance it to accepts floating values. Anyways, your issue has been added to our issue tracking system with an issue id: CELLSNET-11935. We will let you know about it soon.

Thank you.

Hi,

Please use Font.DoubleSize property using the attached version for your requirement.

Thank you.