Quantcast

Printing a table only till half of the page in itextsharp document

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Printing a table only till half of the page in itextsharp document

praveen
Hello,
I have a table with around 100 rows.Now i want to print it in the form of pdf using itextsharp.Here I want to print the table in such a way that as soon as the table reaches half the page's height , the remaining rows should be discarded. Please suggest a good solution to identify the printed content height so as to discard the remaining rows of the table and print the rows till it fills half the page.

Thanks.
Loading...