i have a form, with a few text box's, and a background image, when i click the button to produce the pdf it often creates this Parameter is not valid exception (argumentException was unhandled)..
Bitmap back = iDMS.Properties.Resources.corporateLetterHeadPage1;
back.SetResolution(300, 300); <------ error is here..
the image is not massive, its the size of an A4 at 300dpi...
i know the image is there, and the image is working correctly.. is there a work around or something that i've missed?