Hi,
I have attached both sample program and pdf.
When building a page we set default page margins. But when header is added it is not considering those margins and header gets overlapped with the rest of the contents. How can this be fixed.
In general, is this the best way to communicate if we have issues in the library? or can we setup a meeting to go over the issues.
We are trying to upgrade from legacy API to the latest version. Because of lack of documentation and the issues we are encountering it is taking a lot of time to achieve our requirements. We were questioning whether to go for upgrade or not.
You guys are really helpful through forums. Just trying to speed thing up.
Thanks
Mamatha
Hi Mamatha,
Thanks for your inquiry. Please note header/footer margins should be smaller than Page margins so header/footer can be accommodated properly. You may try to increase page top margin, it will resolve the issue.
Document pdf = new Document();
pdf.getPageInfo().setMargin(new MarginInfo(50, 50, 50, 70));
Page page = pdf.getPages().add();
Please feel free to contact us for any further assistance.
Best Regards,
mamatha:
In general, is this the best way to communicate if we have issues in the library? or can we setup a meeting to go over the issues. We are trying to upgrade from legacy API to the latest version. Because of lack of documentation and the issues we are encountering it is taking a lot of time to achieve our requirements. We were questioning whether to go for upgrade or not. You guys are really helpful through forums. Just trying to speed thing up.Thanks
Mamatha
Hi Tilal,
Suppose if we don’t have header on the first page and has header on the subsequent pages and if we increase page margins to accommodate the header then first page will have more white space.
In the legacy world we never had this issue. We used to set page top margins (50) and header top margins(50) in the xml template and used to add content dynamically through the code. Content used to come after the header.
Thanks
Mamatha
Hi Mamatha,
Hi,
Can you please provide update on this.
Thanks
Mamatha
Hi Mamatha,
Hi,
We need this feature ASAP. We were almost towards end of development cycle. We want to fix this before going to prod. Please look into this.
Thanks
Mamatha
Hi Mamatha,
Interesting. We’re evaluating this product and seeing it’s taking you 5 months through the issue queue for a production issue is a factor we should consider.
robert.kerr:
Interesting. We’re evaluating this product and seeing it’s taking you 5 months through the issue queue for a production issue is a factor we should consider. Hi Robert,Thanks for contacting support.The time taken by our development team depends upon the structure and complexity of input files and each scenarios is different from other. Furthermore, the issues are resolved in first come first serve basis as we believe its the fairest policy to all the customers.Now concerning to the issue which you are facing, please share some details and resource files, so that we can test the scenario in our environment.
Hi Robert,
header.setMargin(new MarginInfo(50,50,50,30));