MvcRazorToPdf 1.0.0
See the version list below for details.
dotnet add package MvcRazorToPdf --version 1.0.0
NuGet\Install-Package MvcRazorToPdf -Version 1.0.0
<PackageReference Include="MvcRazorToPdf" Version="1.0.0" />
paket add MvcRazorToPdf --version 1.0.0
#r "nuget: MvcRazorToPdf, 1.0.0"
// Install MvcRazorToPdf as a Cake Addin #addin nuget:?package=MvcRazorToPdf&version=1.0.0 // Install MvcRazorToPdf as a Cake Tool #tool nuget:?package=MvcRazorToPdf&version=1.0.0
Create pdf documents within an asp .net mvc project by generating your views as normal but returning a PdfActionResult.
Please see the following URL for instructions and a demo link:
https://github.com/andyhutch77/MvcRazorToPdf.
This converts regular produced razor/html to pdf documents in the browser using the iTextXmlWorker.
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.4.3)
- itextsharp.xmlworker (>= 5.4.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Please see the following URL for instructions and a demo link:
https://github.com/andyhutch77/MvcRazorToPdf.
Please note that you have to keep your views in an iTextXmlWorker friendly manner, the following links provide further info. (http://demo.itextsupport.com/xmlworker/itextdoc/flatsite.html and http://demo.itextsupport.com/xmlworker/itextdoc/flatsite.html).
Only tested with Mvc versions 3 and 4.