4
Answers

How to keep overlapped images in correct place when resizing a picturebox inside a panel?

Ask a question
Peter

Peter

18y
2.3k
1
I have a program that includes a single main form. On the form, I have a pictureBox inside a Panel because the image is very large. How do you all recommend I accomplish something similar to the article here: (http://www.c-sharpcorner.com/Code/2002/April/DrawTransparentImageUsingAB.asp Very nice article! THANKS a lot for it!) but maintain the picture inside a pictureBox inside a panel for scrolling purposes. Example Summary: For example, I have a map image inside a pictureBox inside a panel. I have an icon I want to put on the image at a specific picture pixel x,y (I have a dbase connection that pulls the x,y coordinates for the sake of knowing where to place those icon images on the map). I want to be able to overlay that image, but also make the main image scrollable. Any suggestions? MurdockSE Thanks ahead of time.

Answers (4)