Hello,
How do i resize/stretch the image inside a pictureBox(win32 form)?
i was only managed to resize/stretch the border of the pictureBox, but i want to resize/stretch the image itself, how do i do it?.
Thank you in advanced.
Martje
0
Junior Poster in Training
Recommended Answers
Jump to PostUse the BackgroundImageLayout property
pictureBox1->BackgroundImageLayout = ImageLayout::Stretch;
(then, once you resize the PB, the image should stretch with it)
Jump to PostCan you post a bit of your code? Stretch should do that for you, are you applying it right after setting the background image?
All 6 Replies
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Martje
0
Junior Poster in Training
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Martje
0
Junior Poster in Training
jonsca
1,059
Quantitative Phrenologist
Team Colleague
Featured Poster
Milton Neal
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.