0
maikeloh created
I try to use this library to generate pdf but will like to know best aproach to correctly get access to System.Web.Mvc.ControllerContext required to call GeneratePdf method. I need to generate pdf from AppService or inside a DomainService.
thanks in advantage
1 Answer(s)
-
0
Hi,
You need to reference System.Web and access HttpContext.Current. Alternatively, you can use some other tools like this one <a class="postlink" href="http://wkhtmltopdf.org/">http://wkhtmltopdf.org/</a> if you are generating PDF files from your pages.