itextsharp place Pdfptable at desired position

六眼飞鱼酱① 提交于 2019-12-04 07:55:24

As mentioned in the itext docs-

To avoid having the cell border and the content overlap, if you are having thick cell borders, call the setUserBorderPadding(true), like this:

cell.setUserBorderPadding(true);
DonaJose

you have calculated the y position for your header table in onload() like document.PageSize.Height-10.

please set some calculated value instead of pageSize.GetTop(50) in the second table also.

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