Rank: Newbie Groups: Member
Joined: 10/20/2014 Posts: 9
|
This is about MVCToPDF.
After converting a MVC View via MvcToPDF, I'm trying to locate various HTML elements, but cannot do so because the callback from PdfDocumentEventArgs does not contain the HtmlDocument attribute. I thus have to resort to ConvertUrl, which causes some problems for me due to complex authentication in our app.
Is it possible to still locate Html elements or get the HtmlDocument from the MVCToPDF.RenderAsPDF workflow?
thanks in advance
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
This appears to be a problem. We will add a static HtmlToPdf.Result property that will allow you to get the last conversion result. The new build should be ready in a few days. We will reply again as soon as the new build is ready.
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, We have posted a new build that added HtmlToPdf.Result property: http://www.essentialobjects.com/doc/4/eo.pdf.htmltopdf.result.aspxYou can use this property to get the conversion result inside your post handler callback. Thanks!
|