|
-
January 5th, 2000, 01:26 PM
#1
resize a picture
can anybody tell me how to make an image resize to a picture box rather than the other way round, as is normally used. It's a bitmap by the way.
-
January 5th, 2000, 04:31 PM
#2
Re: resize a picture
The easy way to do this is to use a image instead of a picturebox and set the stretch property to true. If you want to use a picturebox, you'll have to dig into the windows API's. Hope it helped.
-
January 5th, 2000, 06:33 PM
#3
Re: resize a picture
The fastest way to do this would be to have a second picture box hidden and use the paintpicture method (Check the help file) you can specify the size of the destiantion window using this method. Warning taking a large file and shrinking it down small can give you some weird effects of the image is to small.
Hope this helps
Richard Barnes
Lead Design Scientist
Coynet International/Public Access Technologies
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|