My Account |  Site Map | Contact Us  

Pdf API for .NET: ASP.NET MVC page to PDF Demo

All Products
EO.Web Controls
EO.Pdf for .NET
HTML to PDF (Url)
HTML to PDF (HTML Markup)
PDF Creator API
PDF Reader API
PDF Page Extraction API
PDF Splitting API
PDF Merging API
PDF Encryption API
PDF Signing API
API to Fill Form Fields
EO.Wpf for .NET
EO.WebBrowser for .NET

MVCToPDF is a feature provided by EO.Pdf that allows you to render the an ASP.NET MVC page to PDF.

Use it in your Application

To use MVCToPDF, simply reference EO.Pdf.dll and EO.Pdf.Mvc.dll, then apply attribute RenderAsPDFAttribute to your action method. For example:

public ActionResult Input(AddressModel m)

The above code automatically triggers a conversion when the action is executed. You can also trigger the conversion conditionally in code. See here for more detailed information on how to use this feature.

MVCToPDF feature is similar to ASPXToPDF, but is specifically designed for ASP.NET MVC pages. Like ASPXToPDF, internally it uses EO.Pdf to perform the conversion, so almost all options available to EO.Pdf are available to MVCToPDF.

Additional Resources

  • Product Documentation

    All features are explained in great details in the product documentation. It also contains complete reference information for each type, property or method;

  • Samples

    The download package contains a wide variety of samples with full C# and Visual Basic.NET source code that demonstrate how to use different feature of the EO.Pdf library.

  • Technical Support

    Still have questions? Post in our support forum or contact us and we will answer them quickly. Our turn around time is among the best in the industry.