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

Header issue

pushpi wrote on 2016-04-15:
hello,

I am using your API to make PDF of wordpress pages . I want header to execute after first PDF page mean i don't want header on the first page .
When i set header it included on all pages.
support wrote on 2016-04-18:
Hello,

You can use the following:
$client->setHeaderFooterPageExcludeList("1");
pushpi wrote on 2016-04-18:
hello,

Sir if i have to do this in multiple pages . Can i insert array into this function .

eg. $client->setHeaderFooterPageExcludeList("1,5,8,9");
support wrote on 2016-04-18:
Yes, the array should work.
pushpi wrote on 2016-04-19:
One more question, how can i add a image to PDF page so that it can adjust on full width and height of that page.
and the i tags are not converting .
support wrote on 2016-04-20:
Here is an example. You need to set the size of the outer div so that it matches the PDF page dimensions.
<html>
 <div class="page">
   <img style="width:100%;height:100%" src="http://example.com/image.png" />
</div>
</html>