Need to give page break in inner PdfPTable of iTextSharp

為{幸葍}努か 提交于 2019-11-28 04:38:35

问题


I am printing my html string in to pdf using iTextSharp. I have nested table hierarchy. I need the Inner table should be break if its not fit in the current page and Start printing on new page.

I have putted the

KeepTogether = true;
SplitLate = false;
LockedWidth = true;

For all the tables that is for parent as well as all the child tables.

But in my case the Inner table is not breaking.

Here is the Image.

I am adding main parent table in document.add(parentTable).

I have checked that If I separate the child table from parent table and add in document directly, its breaking the page whenever require.

But for nested table its not breaking .

Can you please help me ?

Thanks

来源:https://stackoverflow.com/questions/35909753/need-to-give-page-break-in-inner-pdfptable-of-itextsharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!