المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : how to calculate size for printing?



C++ Programming
04-04-2013, 09:25 PM
Hi all,

I want to print image.

I have a paper size and the num of image to be print on page.

if one image print over the page its working fine

but how can I identify the size of new image to print on page if multiple num of image print over the page,

like: if 40*40 is image size its print on 40*40 paper finally if only one image print over 1 page, if 2 image print on the page the image size should be 20*20 each print perfectly on page and occupy the whole area of page.

and also tell me how to arrange the images in printing like left to right or top to bottom ,to occupy the whole paper area by providing num of images on page.



please help me for this,

thanks.