Search code examples
delphizoomingdelphi-xe2timage

How to zoom images loaded in TImage control in Delphi XE2 Trial?


I have developed a small utility to load different types of image files in TImage control in Delphi XE2. Now I would like to implement and test zooming functionality, with built-in controls only (i.e. not using any 3rd party component).


Solution

  • See the second part of this answer which zooms in and out a TImage by using the mouse wheel.

    Note: It repositions the image component.