Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26285

    I am using this code to display footer using java.It is showing me String of page number but image is not being attached.I want to attach image in footer.

    PD4PageMark footer = new PD4PageMark();
    footer.setHtmlTemplate("<font color="red"><i>page $[page] of $[total]</i></font><br> <img alt="Image from the forum topic: Display image in Page Footer" src="E:\HAT_FLASH.gif"> ");
    footer.setAreaHeight(-1);
    pd4ml.setPageFooter(footer);

    #27614

    Most probably the problem is with the image path. Try to enable debug output and to inspect if it tried to load the image. Also Image from the forum topic: Display image in Page Footer is a more safe format to point local resources.

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

The forum ‘General questions / FAQ’ is closed to new topics and replies.