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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resizing bitmaps for Image Control

Status
Not open for further replies.

shyamal

Programmer
Aug 14, 2000
79
US
I have an icon and a bitmap of a CD that I would like to place on a form. When I use the Image.Picture control to import the bitmap of the CD I cannot resize it to a size larger than the original size of the bitmap. Can anyone advise? I have tried going into Paint and resizing the bitmap but I feel that I should be able to resize via VB??
 
I found the answer: there is a stretch property that needs to be enabled for the image control.
 
An Image control has a property named stretch, if you set this property to true
Image1.Stretch = True
the picture will be stretched to the size of the control.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top