I have picturebox whose sizemode is set to stretch.I cannot change it to zoom or normal due to some programming requirements.
I want to adjust the size of the picturebox by the smallest factor,so as to achieve the closest aspect ratio match.
I don't want to alter the picturebox sizemode by a large amount.Just want to prevent the image from being appearing stretched or shrunken.