This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Header / Footer Vertical Size

kkehler wrote on 2012-06-27:
Is there a limit on the vertical size of the header / footer? Can this be adjusted?
support wrote on 2012-06-27:
The size can be adjusted using the setVerticalMargin() method. Here is a PHP example:
$client->setVerticalMargin("0.5in");


More info about headers/footers can be found here.
kkehler wrote on 2012-06-27:
I understand that this adjusts the margins of the page, however the vertical size available for the footer itself stays the same as far as I can see. Please advise...
support wrote on 2012-06-27:
setVerticalMargin() adjusts also the vertical size available for the footer/header, see the attached files

footer-0.5in.pdf
$client->setVerticalMargin(".5in");
$client->setFooterHtml('<div style="background-color:#eee;height:36pt">footer</div>');


footer-1in.pdf
$client->setVerticalMargin("1in");
$client->setFooterHtml('<div style="background-color:#eee;height:72pt">footer</div>');