Set 'Custom' property of the Style as per CultureInfo.CurrentCulture

Hi,

Is there an option to set the style of a aspose cell suporting current culture of the application?
We have to support exports in multiple languages. So can we set the numeric format as per the current culture.
E.g. we have to write a number , say 100210 in a cell.
If the CultureInfo.CurrentCulture if ““de-DE””(German) the number format should be 100.210
If the CultureInfo.CurrentCulture if ““en-US””(US-English) the number format should be 100,210
and likewise.

Thanks in advance,

Dhruv.




Hi,

Thanks for your posting and using Aspose.Cells for .NET.

Please try setting the culture info using workbook.Settings.CultureInfo and see if it works for you.

If you face any problem, let us know, we will help you asap.

Hi,

Thanks for the quick reply. I am using 4.8.1.0 version of Aspose cells
There was no property named ‘Settings’ for an instance of workbook class. Could you please provide some details.

Regards,

Dhruv

Hi,

It is supported in the latest versions.

Please download and use the latest version:

Aspose.Cells for .NET 7.1.2