HTML to PDF / DOCX / RTF Java converter library Forums PD4ML v3 Archived Forums (Read Only) PD4ML Tips & Tricks The header and footer are not getting rendered in pdf

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27069

    Hello

    I am using Freemarker template to generate dynamic html. I have embedded the header and footer in the html, but they are not getting rendered in the pdf format. The header and footer have images.

    I am using v3.20.1 of pd4ml. Please let me know if this version supports images in header and footer.

    #29869

    Please post an HTML code snippet, to illustrate the issue.

    Also make sure you use PD4ML Pro (or derived PD4ML Volume). A regular PD4ML Std does not support images in headers/footer.

    #29870

    The version i am using is PD4ML v3.2.0 Pro. Does it support images in header and footer?

    I am not using it from html but from java. I used the following code for adding header, but the header is not getting added at all –

    PD4PageMark header = new PD4PageMark();
    header.setAreaHeight(30);
    header.setPageBackgroundColor(new Color(0x090000));
    pdfDoc.setPageHeader(header);

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘PD4ML Tips & Tricks’ is closed to new topics and replies.