Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shrinking Images

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I am making an image viewer in VB and i need to know how you shrink images to fit into the picture space you provided.
Please help.
 
There are two common image viewing controls in VB, Picture Box, and Image Control.

If you use the Picture Box, then you need to fit the image before you load it into the control.

If you use the Image Control, then all you need to do is set the property Stretch = True.

Its been a couple of months since I have worked with images, but I also have some image manipulation code around somewhere. Let me know if I can be of further assistance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top