Hi.
I’m using Aspose.Cells 8.6.3 for .NET
Here’s the code:
var workbook = new Workbook(filePath);Here’s the result:
var options = new ImageOrPrintOptions
{
ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff,
HorizontalResolution = 200,
VerticalResolution = 200
};
var pageCount = workbook.Worksheets.Sum(s => new SheetRender(s, options).PageCount);
System.Globalization.CultureNotFoundException: Culture is not supported.
Parameter name: culture
64537 (0xfc19) is an invalid culture identifier.
at System.Globalization.CultureData.GetCultureData(Int32 culture, Boolean bUseUserOverride)
at System.Globalization.CultureInfo.InitializeFromCultureId(Int32 culture, Boolean useUserOverride)
at □□□.□□□…ctor(□□□ , String , Boolean , Int32 )
at □□□.□□□.□□(Char[] , Int32 , Int32 )
at □□□.□□□…ctor(□□□ , String )
at □□□.□□□.□□□(String , □□□ )
at □□□.□□□.□□□(String , Boolean )
at □□□.□□□.□□□(String , Boolean )
at Aspose.Cells.Cell.□□□(Cells , Style , □□□ , Int32 , Boolean )
at □□□.□□□.□□□()
at □□□.□□□.□□□()
at □□□.□□□.□□□(Worksheet )
at □□□.□□□.□□□(Int32 )
at □□□.□□□.□□□(Worksheet , ImageOrPrintOptions )
at Aspose.Cells.Rendering.SheetRender…ctor(Worksheet worksheet, ImageOrPrintOptions options)
I’ve attached the file that causes this problem