PDFMaker-HashMakerSol
1.0.1
See the version list below for details.
dotnet add package PDFMaker-HashMakerSol --version 1.0.1
NuGet\Install-Package PDFMaker-HashMakerSol -Version 1.0.1
<PackageReference Include="PDFMaker-HashMakerSol" Version="1.0.1" />
paket add PDFMaker-HashMakerSol --version 1.0.1
#r "nuget: PDFMaker-HashMakerSol, 1.0.1"
// Install PDFMaker-HashMakerSol as a Cake Addin #addin nuget:?package=PDFMaker-HashMakerSol&version=1.0.1 // Install PDFMaker-HashMakerSol as a Cake Tool #tool nuget:?package=PDFMaker-HashMakerSol&version=1.0.1
This Package Contains a light weight PDFMaker which is faster than others in market and hastle free. Others have issues with most of the hosting where those sites doesn't allow them to run.
It has been test on
1) Azure
2) Godaddy
And it is working flawlessly.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- iTextSharp (>= 5.5.9)
- itextsharp.xmlworker (>= 5.5.9)
- Microsoft.AspNet.Mvc (>= 5.2.3)
- Microsoft.AspNet.Razor (>= 3.2.3)
- Microsoft.AspNet.WebPages (>= 3.2.3)
- Microsoft.Web.Infrastructure (>= 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.
you can make pdf by simply returning return new PdfResult().
There are multiple overloads available for you to select an data object or a action other than your current one.
Moreover you can pass parameters to specify master layout if any, document size, File Download Name.
Example:
return new PdfResult(Centers) { MasterViewName = "_PDFLayout", DocPageSize = PageSize.A4.Rotate() };
Centers : Is your Object of data.
MasterViewName : Layout of your Action.
DocPageSize : This is to specify size and orientation both. Chose a size and at end call rotate for Landscape or Leave as it is for Horizontal.