I have a problem with PictureBox in Microsoft Visual Studio. No matter what I do there is always border on top and bottom. It makes no difference even if I use a image of the same size as PictureBox. I'm using zoom property, so there should not be any changes in aspect ratio of the image. Dock is set to none and all padding variables are set to zero. Border is set to none.
I need a cursor position on a image, so I need to get rid of that borders because they shift the position.