Last post Feb 09, 2018 01:59 PM by mitsurya
Jan 24, 2018 03:14 PM|mitsurya|LINK
Please let me know if you know free open source code which converts excel to pdf file. This should work in the server as well since there wont be any office installed.
Jan 25, 2018 02:58 AM|Edward Z|LINK
Do you want to convert excel to pdf in asp.net or asp.net core?
This forum is for asp.net core, I assume you mean asp.net core. If so, as far as I know, it is not supported to converting excel to pdf in asp.net core.
You may to need to provide a service which will accept excel file and return pdf file for a workaround under .net framework.
Jan 25, 2018 02:29 PM|mitsurya|LINK
Thank you. looks like i posted in wrong thread.
Feb 07, 2018 10:05 AM|alice.yang|LINK
If you mean convert excel to pdf in asp.net, then you can use free spire.xls library to achieve this feature. Get free spire.xls from nuget and use code like following:
Workbook workbook = new Workbook();
Worksheet sheet = workbook.Worksheets;
For more information, check this article: Convert worksheet to PDF in C#, VB.NET
Feb 09, 2018 07:21 AM|DigiMortal|LINK
FreeSpire.XLS is supported only on full .NET Framework. It means that you can use it with ASP.NET Core but only on Windows. If you need your application to run also on *nix then you have to use FreeSpire.XLS as an external service that runs on full framework.
Feb 09, 2018 01:59 PM|mitsurya|LINK
Thank you alice. i am still working on this. we are using .net framework with windows.