I want to add a theme(image) as a background of pdf file. i have developed pdf related class & one jsp. It provides the jsp as a output in pdf file. That means, i got pdf file with white color as a background. But i need to use one image file as background color of pdf file. Already i tried it. i.e. i have set the background image for jsp file. But it didn’t add entire image file as background. Please help me. Thank u.
There is an API method intended for that:
[language=java:3csh4kwr]PD4ML pd4ml = new PD4ML();
PD4PageMark mark = new PD4PageMark();
pd4ml.setPageFooter(mark); // or .setPageHeader(mark)[/language:3csh4kwr]
Make sure HTML document itself does not define an opaque page background.