ReadmeNuGet.Xamarin.XlsIORenderer
4.0.0
dotnet add package ReadmeNuGet.Xamarin.XlsIORenderer --version 4.0.0
NuGet\Install-Package ReadmeNuGet.Xamarin.XlsIORenderer -Version 4.0.0
<PackageReference Include="ReadmeNuGet.Xamarin.XlsIORenderer" Version="4.0.0" />
paket add ReadmeNuGet.Xamarin.XlsIORenderer --version 4.0.0
#r "nuget: ReadmeNuGet.Xamarin.XlsIORenderer, 4.0.0"
// Install ReadmeNuGet.Xamarin.XlsIORenderer as a Cake Addin #addin nuget:?package=ReadmeNuGet.Xamarin.XlsIORenderer&version=4.0.0 // Install ReadmeNuGet.Xamarin.XlsIORenderer as a Cake Tool #tool nuget:?package=ReadmeNuGet.Xamarin.XlsIORenderer&version=4.0.0
Syncfusion Xamarin Excel To PDF Converter
A PDF is a fixed document used to display document contents uniformly independent of application software, hardware, and operating system. Syncfusion Xamarin (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.
Features Overview | Docs | API Reference | Online Demo | GitHub Examples | Blogs | Support | Forums | Feedback
Key features
- Convert entire Excel workbook into PDF.
- Convert specific Excel worksheet into PDF.
- Convert Excel document to PDF with,
- Convert entire Excel worksheet into Image.
- Convert specific Excel range into Image.
System Requirements
Getting Started
You can fetch the Syncfusion .NET Core Excel to PDF converter library NuGet by simply running the command Install-Package Syncfusion.Xamarin.XlsIORenderer 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.XlsIORenderer;
using Syncfusion.Pdf;
using System.IO;
using System.Reflection;
//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.
//Gets assembly
Assembly assembly = typeof(App).GetTypeInfo().Assembly;
//Gets input Excel document from an embedded resource collection
Stream excelStream = assembly.GetManifestResourceStream("XamarinSample.Sample.xlsx");
IWorkbook workbook = application.Workbooks.Open(excelStream);
//Initialize XlsIO renderer
XlsIORenderer renderer = new XlsIORenderer;
//Initialize PDF document
using (PdfDocument pdfDocument = new PdfDocument())
{
//Convert Excel document into PDF document
pdfDocument = renderer.ConvertToPDF(workbook);
//Save the PDF document to stream.
MemoryStream stream = new MemoryStream();
pdfDocument.Save(stream);
stream.Position = 0;
Xamarin.Forms.DependencyService.Get<ISave>().Save("Output.pdf", "application/pdf", stream);
}
}
For more information to get started, refer to our Getting Started Documentation page.
License
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.
About Syncfusion
Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 27,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.
Today, we provide 1700+ 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 (Preview), Flutter, Xamarin, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, .NET MAUI (Preview), 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.
sales@syncfusion.com | www.syncfusion.com | Toll Free: 1-888-9 DOTNET
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- SampleDependency (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.0.0 | 1,668 | 3/14/2022 |
Summary of changes made in this release of the package.