PDFMaker-HashMakerSol 1.0.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package PDFMaker-HashMakerSol --version 1.0.3                
NuGet\Install-Package PDFMaker-HashMakerSol -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PDFMaker-HashMakerSol" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PDFMaker-HashMakerSol --version 1.0.3                
#r "nuget: PDFMaker-HashMakerSol, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PDFMaker-HashMakerSol as a Cake Addin
#addin nuget:?package=PDFMaker-HashMakerSol&version=1.0.3

// Install PDFMaker-HashMakerSol as a Cake Tool
#tool nuget:?package=PDFMaker-HashMakerSol&version=1.0.3                

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.

Source Code: https://github.com/zainniazi/pdfmaker-hashmakersol

Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.6 1,746 3/1/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 1,000 3/1/2017
1.0.4 1,037 2/28/2017
1.0.3 6,275 5/12/2016
1.0.2 1,381 5/7/2016
1.0.1 1,340 5/3/2016

You can make PDF by simply returning return new PdfResult() in ASP.NET MVC which will show a PDF in the browser or you can use PdfBytes class to get html converted to bytes of pdf.

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:
using HashMakerSol.PDFMaker;
return new PdfResult( * Centers) {
     ** MasterViewName = "_PDFLayout",
    *** DocPageSize = PageSize.A4.Rotate()
};

PdfBytes pdfBytes = new PdfBytes() {
  *** DocPageSize = PageSize.A4
};

pdfBytes.GetPdfBytesArray("<h1>Hello</h1>");
*  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.