ASPX to PDF IronPDF Tutorial Specifications
|
Learn how to use ASP.NET to generate PDF documents with IronPDF.
In the tutorial we learn how to use asp.net to generate PDF documents. Essentially it is a ASP to PDF converter for the .Net platform. The project uses ASPX + C# code (although VB.Net is just as compatible) to render a web page using HTML 5 and CSS with assets. This if our first step in our ""HTML to PDF .Net" website project. We then use the IronPDF library NuGet to Visual Studio or similar .NET IDE.
Once the IronPDF .Net PDF library is installed we can use its AspxToPdf (ASPX to PDF) static class in the ASPX code-behind Page_Load event to change all of the HTML to a visually identical PDF file. This is a ASP.net html to pdf technology which can be implemented in as little as 2 line of C# or VB.Net code. As such we use asp.net print to PDF documents from existing WebForms. We can also create a PDF in ASP by rendering HTML strings, files or URLS into PDFS and server them as downloads, or simply archive them. This PDF file may be displayed to the end user in-browser or as a file download with any specified file. In addition, display options may be specified including virtual paper size, margins, html headers and footers with data-merging & image render quality.