MvcRazorToPdf 1.0.2
Create pdf documents within an asp .net mvc project by generating your views as normal but returning a PdfActionResult.
This converts regular produced razor/html to pdf documents in the browser using the iTextXmlWorker.
Please see the following URL for instructions and a demo link:
https://github.com/andyhutch77/MvcRazorToPdf.
This uses the newer version/licence of iText/iTextXmlWorker and can process the html that is produced from your views.
Install-Package MvcRazorToPdf -Version 1.0.2
dotnet add package MvcRazorToPdf --version 1.0.2
<PackageReference Include="MvcRazorToPdf" Version="1.0.2" />
paket add MvcRazorToPdf --version 1.0.2
#r "nuget: MvcRazorToPdf, 1.0.2"
// Install MvcRazorToPdf as a Cake Addin
#addin nuget:?package=MvcRazorToPdf&version=1.0.2
// Install MvcRazorToPdf as a Cake Tool
#tool nuget:?package=MvcRazorToPdf&version=1.0.2
Release Notes
As per:
https://github.com/andyhutch77/MvcRazorToPdf/pull/14
https://github.com/andyhutch77/MvcRazorToPdf/pull/17
Resolved issues thanks to ElanHasson.
https://github.com/andyhutch77/MvcRazorToPdf/issues/11
https://github.com/andyhutch77/MvcRazorToPdf/issues/12
https://github.com/andyhutch77/MvcRazorToPdf/issues/13
https://github.com/andyhutch77/MvcRazorToPdf/issues/15
Dependencies
-
- iTextSharp (>= 5.5.0)
- itextsharp.xmlworker (>= 5.5.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.