Hi,
I am using xml template to generate a PDF file. We need to add some images in the PDF file. And this is how I am adding them.
Image img =(Image)section1.getObjectByID("imageID1");
img.getImageInfo().setFile(".\\images\\49312.jpeg");
It is throwing error if I specify relative path. But works fine for absolute path.
Can you please tell me how we can insert images using relative path.
Thanks
Mamatha