Page 1 of 1

How to work with Image, in print and standalone

Posted: Sat Mar 22, 2014 12:52 am
by Rf928
I have my printing to PDF application working, until I struggled with an image.

I need to be able to display an image on the page, and when it prints to PDF it should still be visible. Well, when I print, and look at the PDF the image isn't there. I am also struggling with it in another regard, when I save to standalone. I save, and it all work perfect although the image isn't there.

How am I supposed to insert an image for it to appear in the resulted "printed" PDF as well as the standalone?

Currently I am using an image area, and then referencing another image on my computer. I also tried to import image as control, and it still didn't appear in the PDF or the standalone.

Thank you.

Re: How to work with Image, in print and standalone

Posted: Sat Mar 22, 2014 6:43 am
by Simon
Hi Rf928,
I can answer 1 part of your question;
I am also struggling with it in another regard, when I save to standalone.
You cannot save to a standalone, once it's built it cannot change.
You would save the image to a folder (like specialFolderPath("documents")) then re-import it when needed. You'll also need another file saved that describes the new image, normally it's called a "preference" file.

Make sense?

Simon