Click here to Skip to main content
15,890,741 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello,
i am using iTextSharp dll for export to pdf and it is working perfectly but on a single page I am facing problem. because the page design is not fixed columns are varying from condition to condition.
On other pages where columns are fixed it is working fine. And on this page sometimes columns are 10 like using colspan property of table and sometimes design change like true or false the columns and columns are 14 or more. But page is same. If i fix it for one then it creates problem for another one.

So is there any way to convert it into image of page and show in pdf.

Thanks in advance
Posted
Comments
Jephunneh Malazarte 19-Jan-12 4:29am    
nice question :) 4!

1 solution

Try to export the datatable to the PDF. If the columns are varying , prepare a datatable as per the modified structure and export it..
Here is the link for exporting DataTable to PDF.

Here[^]

Thanks
--RA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900