Picture Measurement Units for Print
Posted on 2004-03-30
I have written a thumnail generator for my picture library using StdPicture to load the pictures and then painting them to a PictureBox.
I now need to be able to print them out at a selected size, ie to fit A4 or A5 size.
I dont know the relationship between the STDPicture.Width and .Height and the Printer.PaintPicture loadpicture("MyFile.JPG"), xxx, xxx units to be able to figure out a ratio for printing them in proportion.
What would i have to put in where the xxx's are to make it print to A5 (148mm x 210mm) Size for example?
Sorry if it's a bit unclear and thanks in advance,