Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Different Header / Footer based on page number
    #28712

    I am currently evaluating this software, before deciding to buy the full license. It looks like there might be a limitation with regards to headers and footers. The example above demonstrates how to define page specific content, but as far as I can see there is no way to set page specific areaHeight.

    I would like to render my first page without a header:

    PD4PageMark out = new PD4PageMark();
    out.setHtmlTemplate("...some header...");
    out.setPagesToSkip(1);
    out.setAreaHeight(-1);

    The header is not displayed in the pdf, but the space it occupies (in subsequent pages) pushes the content down. Is there a way to solve this?

Viewing 1 post (of 1 total)