I am having a problem with Aspose.Cells. I started a new project in VS Community 2019 , added Aspose.Cells 21.2 through NuGet. The command that worked before is:
bitmap = sr.ToImage(0)
And now in the error list it says:
Error BC30516 Overload resolution failed because no accessible ‘ToImage’ accepts this number of arguments.
If I try to put in a second parameter, an empty string placeholder for the filename, or if I use the filename that I want to Bitmap.Save to, it says, “Expression does not produce a value.”
Thanks for your help.
@rdaviessci,
We have tried to reproduce this issue using the attached sample project which is created in VS Community 2019 and latest version Aspose.Cells 21.2 is added through NuGet. No issue is observed and ToImage() function works fine with single integer argument. You may please give a try to the attached sample project and share your feedback. If issue is not reproduced, share your complete runnable solution with us for testing. TestToImage.zip (13.7 KB)
@rdaviessci,
We can see the issue in the attached image but we need sample project to reproduce this issue here as it will help us to analyze the issue and provide our feedback accordingly.
@rdaviessci,
We have observed this issue where ToImage(int PageIndex) overload is missing in .NET Core version whereas it is available in .NET version. This issue is logged in our database for further analysis. We will write back here once any update is ready for sharing.
This issue is logged as: CELLSNETCORE-103 - SheetRender.ToImage(int PageIndex) overload missing in Aspose.Cells for .NET Core