![]() |
VOOZH | about |
dotnet add package Syncfusion.ExcelToPdfConverter.AspNet.Mvc4 --version 27.2.5
NuGet\Install-Package Syncfusion.ExcelToPdfConverter.AspNet.Mvc4 -Version 27.2.5
<PackageReference Include="Syncfusion.ExcelToPdfConverter.AspNet.Mvc4" Version="27.2.5" />
<PackageVersion Include="Syncfusion.ExcelToPdfConverter.AspNet.Mvc4" Version="27.2.5" />Directory.Packages.props
<PackageReference Include="Syncfusion.ExcelToPdfConverter.AspNet.Mvc4" />Project file
paket add Syncfusion.ExcelToPdfConverter.AspNet.Mvc4 --version 27.2.5
#r "nuget: Syncfusion.ExcelToPdfConverter.AspNet.Mvc4, 27.2.5"
#:package Syncfusion.ExcelToPdfConverter.AspNet.Mvc4@27.2.5
#addin nuget:?package=Syncfusion.ExcelToPdfConverter.AspNet.Mvc4&version=27.2.5Install as a Cake Addin
#tool nuget:?package=Syncfusion.ExcelToPdfConverter.AspNet.Mvc4&version=27.2.5Install as a Cake Tool
A PDF is a fixed document used to display document contents uniformly independent of application software, hardware, and operating system. Syncfusion ASP.NET MVC Excel (XlsIO) library converts an Excel document to PDF with just five lines of code. You can prepare your document for long-term archiving by converting it to PDF.
👁 ASP.NET MVC Excel to PDF Converter
Features Overview | Docs | API Reference | Online Demo | GitHub Examples | Blogs | Support | Forums | Feedback
You can fetch the Syncfusion ASP.NET MVC Excel to PDF converter library NuGet by simply running the command Install-Package Syncfusion.ExcelToPdfConverter.AspNet.Mvc4 from the Package Manager Console in Visual Studio.
Try the following code snippet to convert an Excel document to PDF.
using Syncfusion.XlsIO;
using Syncfusion.ExcelToPdfConverter;
using Syncfusion.Pdf;
//Initialize ExcelEngine.
using (ExcelEngine excelEngine = new ExcelEngine())
{
//Initialize IApplication.
IApplication application = excelEngine.Excel;
//Set the default version as Xlsx.
application.DefaultVersion = ExcelVersion.Xlsx;
//Load an existing workbook into IWorkbook.
IWorkbook workbook = application.Workbooks.Open(Server.MapPath("App_Data/Sample.xlsx");
//Load the Excel workbook to Convert
ExcelToPdfConverter converter = new ExcelToPdfConverter(workbook);
//Initialize PDF document
using (PdfDocument pdfDocument = new PdfDocument())
{
//Convert Excel document into PDF document
pdfDocument = converter.Convert();
pdfDocument.Save("Output.pdf", HttpContext.ApplicationInstance.Response, HttpReadType.Save);
}
}
For more information to get started, refer to our Getting Started Documentation page.
This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1800+ components and frameworks for web (Blazor, Flutter, ASP.NET Core, ASP.NET MVC, ASP.NET Web Forms, JavaScript, Angular, React, Vue, and jQuery), mobile (.NET MAUI, Flutter, Xamarin, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, .NET MAUI, Flutter, Xamarin, and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.
| www.syncfusion.com | Toll Free: 1-888-9 DOTNET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net40 net40 is compatible. net403 net403 was computed. net45 net45 was computed. net451 net451 was computed. net452 net452 was computed. net46 net46 was computed. net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 27.2.5 | 457 | 12/2/2024 |
| 27.2.4 | 240 | 11/26/2024 |
| 27.2.3 | 229 | 11/22/2024 |
| 27.2.2 | 213 | 11/15/2024 |
| 27.1.58 | 234 | 11/4/2024 |
| 27.1.57 | 218 | 10/28/2024 |
| 27.1.56 | 227 | 10/23/2024 |
| 27.1.55 | 199 | 10/21/2024 |
| 27.1.53 | 244 | 10/14/2024 |
| 27.1.52 | 225 | 10/7/2024 |
| 27.1.51 | 259 | 9/30/2024 |
| 27.1.50 | 239 | 9/23/2024 |
| 27.1.48 | 255 | 9/18/2024 |
| 26.2.14 | 260 | 9/9/2024 |
| 26.2.13 | 981 | 9/5/2024 |
| 26.2.12 | 228 | 9/2/2024 |
| 26.2.11 | 235 | 8/27/2024 |
| 26.2.10 | 245 | 8/19/2024 |
| 26.2.9 | 247 | 8/12/2024 |
| 26.2.8 | 253 | 8/5/2024 |