Hi,
- I found out that the height of this section cannot be changed. Is it really fixed ?
- What would I have to do to add 2 headers on the first PDF page? OR 2 footer on the last page ?
Hi,
Hi Saurabh,
Hi,
Hi Saurabh,
Thanks for your inquriy. You need to set HeaderFooter margin as following to control position of Floatingbox in page header, it will help you to accomplish the task.
com.aspose.pdf.HeaderFooter h1 = new com.aspose.pdf.HeaderFooter();
h1.getMargin().setLeft(0);
h1.getParagraphs().add( hf );
Please feel free to contact us for any further assistance.
Best Regards,
@tilal.ahmad, Hi !
Am also stuck in somewhat a similar issue, that is, I want to set the left and right space of the footer to be nil, that is footer should leave no space on the left and right hand side.
I tried h1.getMargin().setLeft(0); and achieved it for the left hand side, but for the RIGHT , am facing problem.
I am attaching the screenshot for your reference, please help me with the same. Footer.PNG (4.8 KB)
NOTE : I tried h1.getMargin().setRight(0); BUT, It is removing the entire last column from the footer, when i am setting SetRight(80f), am getting the last column, but again its not covering the entire page, ultimately what I need to achieve.
Please Help !
@tilal.ahmad, I did it !
But , now when I have achieved the proper margins, am not getting the value in the last column.
Please see this screenshot Footer1.PNG (4.1 KB)
I have used this piece of code :
footer.getMargin().setLeft(15.0);
footer.getMargin().setRight(20.0);
Please Help me resolve this
We have replied similar concerns about footer on page width in another thread of yours. In case this issue is a different one, then please create a separate post along with all the details so that we may investigate further to help you out.