Rank: Newbie Groups: Member
Joined: 6/3/2013 Posts: 6
|
I am in the process of evaluating your product - Converting ASPX to PDF. Following is my question.
How to convert the following Panel tp PDF . I like to see C# Code using your product <asp:Panel id="Panel1" runat="server"> <table > <tr> <td> </td> </tr> </table> </asp:Panel>
Let me know. Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, You can do the following before calling RenderAsPDF: HtmlToPdf.Options.VisibleElementIds = Panel1.ClientID; Here is the documentation for this property: http://www.essentialobjects.com/doc/4/eo.pdf.htmltopdfoptions.visibleelementids.aspxInternally ASPXToPDF uses EO.Pdf to convert the page, so you can use almost all HTML to PDF options. However you will need to reference EO.Pdf.dll before you can use any EO.Pdf features directly: http://www.essentialobjects.com/doc/4/install/project_setup.aspxHope this helps. Please feel free to let us know if you still have any questions. Thanks!
|