ASPXToPDF is an ASP.NET server control that allows you to render the
current page as PDF.
Use it in your Application
To use ASPXToPDF, simply place the control in your page, then call
RenderAsPDF on the control to render the current page as PDF.
protected void Button1_Click(object sender, EventArgs e)
//Render the current page to PDF
ASPXToPDF is not only easy to use, but is also extremely powerful. EO.Pdf provides many conversion options,
such as page size, scale factor, paging options, repeating table headers, etc. Since internally ASPXToPDF
uses EO.Pdf to perform the conversion, you can use almost all EO.Pdf options when using ASPXToPDF.
Detailed documentation and sample code about this feature can be found in the
Try it Online
Click the following button to render this page as PDF.