Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Sep 2007
    Bayamon, Puerto Rico, USA
    Thanked 0 Times in 0 Posts

    Zoom Images (Access 2003)

    I have an image object in my form but cannot zoom or enlarge the image. Is possible add a control to do this?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 31 Times in 31 Posts

    Re: Zoom Images (Access 2003)

    You can set the SizeMode property of the image control to Clip, Stretch or Zoom.
    If you set it to Zoom, the image will fit inside the control without distortion.
    Stretch makes it fit inside the control, distorting the image if necessary.
    Clip shows the image at its original size, displaying only part of it if it's too large.

    You could set SizeMode to Zoom, and implement code to increase or decrease the size of the Image control, thus simulating enlarging or shrinking the picture. The LoadJpegGif database from Stephen Lebans that I referred you to yesterday shows how to do this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts