Jump to content
xisto Community
Sign in to follow this  
iXeta

Image In Vb.net From Url

Recommended Posts

I've been doing some research for my latest project, and I need to get Images from my website into my application (uploaded Avatars).It's all working that the image buffers until its done, then changes the image over once its done. But I don't know if theres a way toautomaticly resize the image once its been buffered? Say my picturebox is 100 by 100, and they use a link to a 350 by 100 picture insteador even a 200, 200. (the different ratios). Would I have to use something like GDI to edit the image or is there a setting I don't know aboutthat does this for me?

Share this post


Link to post
Share on other sites

If you are using a picture box to display it...i think i know how to do it...I have been using the same thing in my project ...

well....In the properties window of the picture box...set the sizemode property to stretchimage....

It is set to normal by default....It stretches the image to fit in the picturebox.....

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.