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.
Jump to Post
Use the BackgroundImageLayout property
pictureBox1->BackgroundImageLayout = ImageLayout::Stretch;(then, once you resize the PB, the image should stretch with it)
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.