I have a PictureBox
inside the Panel
with picture box Dock = DockStyle.Fill
When I assign picture into the PictureBox
, picture is stretch horizontal to fit the space available and need a vertical scrollbar to scroll the image.
Note: Panel size may change at run time (so, obviously PictureBox
size too).
This Link suggest to get both scroll bars. But, my question is different.
Please help me out.