Have you thought about making the picture box size dynamic? i.e. having a "space" on your form in which the picturebox can expand in or shrink and dynamically setting the size and centering based on the size of the photo the user uploads?
just a thought. when i had this problem, i drew my own bitmap when an image was uploaded and filled in any blanks with black. On Wed, Nov 16, 2011 at 1:20 PM, Ian Thomas <[email protected]> wrote: > WinForms question. I have a PictureBox, SizeMode: Zoom, anchored, > BorderStyle: FixedSingle into which user loads an image. Since images are > not always the same aspect ratio as the PictureBox, the border does not > always fit the loaded image. Is there a way to make it do so? **** > > **** > ------------------------------ > > **Ian Thomas** > Victoria Park, ****Western Australia******** >
<<image002.jpg>>
