«Excel to PDF .Net» will help you in development of applications which need to convert XLSX/XLS to PDF, PDF/A, DOCX and RTF. Read: XLSX, XLS. Write: PDF, DOCX, RTF. Doesn't support Charts. + Created in 100% managed C#. No Microsoft Office automation. + Has own XLSX/XLS parser (Charts are not supported). + Has own DOCX renderer according to ECMA-376 specification. + Has own RTF renderer according to RTF 1.8 specification. + Has own PDF renderer according to PDF reference 1.2 — 1.7, PDF/A-1a — PDF/A-3u. + .NET Framework 4.6.2 and higher. + .NET 6 and higher.
$ dotnet add package SautinSoft.ExcelToPdf

SautinSoft.ExcelToPdf is .NET assembly (SDK) to convert Excel workbooks to PDF, RTF, DOCX, Word.
Are you ready to give Excel to PDF .NET a try? Simply execute from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Excel to PDF .NET and want to upgrade the version, please execute to get the latest version.
Install-Package sautinsoft.exceltopdfUpdate-Package sautinsoft.exceltopdfExcelToPdf x = new ExcelToPdf();
// Set PDF as output format.
x.OutputFormat = SautinSoft.ExcelToPdf.eOutputFormat.Pdf;
string ExcelDocument = Path.GetFullPath(@"..\..\test.xlsx");
string pdfFile = Path.ChangeExtension(ExcelDocument, ".pdf");
x.ConvertFile(ExcelDocument, pdfFile);
ExcelToPdf x = new ExcelToPdf();
// Set DOCX as output format.
x.OutputFormat = SautinSoft.ExcelToPdf.eOutputFormat.Docx;
string ExcelDocument = Path.GetFullPath(@"..\..\test.xlsx");
string docxFile = Path.ChangeExtension(ExcelDocument, ".docx");
x.ConvertFile(ExcelDocument, docxFile);
ExcelToPdf x = new ExcelToPdf();
// Set RTF as output format.
x.OutputFormat = SautinSoft.ExcelToPdf.eOutputFormat.Rtf;
string ExcelDocument = Path.GetFullPath(@"..\..\test.xlsx");
string rtfFile = Path.ChangeExtension(ExcelDocument, ".rtf");
x.ConvertFile(ExcelDocument, rtfFile);