MvcRazorToPdf 1.0.2
dotnet add package MvcRazorToPdf --version 1.0.2
NuGet\Install-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
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- iTextSharp (>= 5.5.0)
- itextsharp.xmlworker (>= 5.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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