Hi,
I want to make Thumbnail of a picture file and print it in report. Can anyone suggest how can a thumbnail be made out of a picture file through VB. Any code or information will be appreciated.
Thanx
Printable View
Hi,
I want to make Thumbnail of a picture file and print it in report. Can anyone suggest how can a thumbnail be made out of a picture file through VB. Any code or information will be appreciated.
Thanx
This isn't terribly useful, but I'm a long way from my home computer:
Use image control, make correct size for your thumbnail. Make the 'Resize' (or whatever its called) property true. This will do the resize bit.
Its the saving bit I'm not sure of.
Try doing something like:
Picture1.Image = Image1.Image
Picture1.SavePicture (...blaa...blaa...blaa...).
Keep it looking pretty by drawing the image control INSIDE the picturebox, and make it the same size as the picturebox. If the Picture1.Image = Image1.Image thing doesn't work then try blitting it across.
Hope that sort of helps.
FJ
Here I worked on this for a friend. Hope it helps...
Click here.
~SirK