http://www.vb-helper.com/HowTo/center2.zip

	Purpose
Center an image, shrinking it to fit if necessary.

	Method
Shrink the image if it will not fit, maintaining the aspect ratio. Use
PaintPicture to copy it into the correct position to center it.

For lots of other graphics techniques, see the book "Visual Basic Graphics
Programming." For more information, go to http://www.vb-helper.com/vbgp.htm.

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
