Is there any methods in GDI+ to do such operations?
Anybody, Please Help...
Thanks in advance.
Is there any methods in GDI+ to do such operations?
Anybody, Please Help...
Thanks in advance.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
FroglegRank #1,020 · 1.9K reputationPosted Jun 6, 2012, 10:04 AM EDT
1: Put a panel on your form, and set it's autoscroll properties to true
2: Put a picturebox inside that panel - sizemode autosize.
3: You need to get a ratio of width and height, so that when you zoom in, you keep the aspect ratio.
Before zooming, the picturebox sizemode needs to be set to stretchimage.
When you want to zoom in, increase the size of the picturebox and the parent panel will then display scroll bars as required
Chandan Rath14 reputationPosted Jun 6, 2012, 8:16 PM EDT
FroglegRank #1,020 · 1.9K reputationPosted Jun 7, 2012, 12:15 PM EDT