I have a basic VB.net app, single form. I'd like to have an image on the top of the page. My question/issue is, I'd like to be able to hot-swap said image in that space, by simply changing the corresponding .jpeg file in the build's output.
Right now I have accomplished this, and it works fine, but the dimensions of the image are hard coded to the maximum size of this image on the form. I defined an image space of
324x84 pixels. Whatever .jpg image I drop in the directory stretches to those maximum dimensions. I would ideally like the image to center, and observe the maximum height, but leave width alone so the image doesn't look distorted.
I've tried changing SizeMode to "Normal", had it on "StretchImage", and that worked, except the image is now left aligned. I'd like the image to sit in the center. Any thoughts or ideas?
Thanks for the help.