Hi Pierre
It sounds like the size of the image in your database is actually 440x48, and your control is 660x30, so neither of these will give you 440x20.
If you make your control 440x20 + the size of the border area (= ImageEnView1.Client - ImageEnView1.ClientWidth), then use:
// Stretch image to control size without maintaining the aspect ratio
ImageEnView1.GetIdealZoom( zoomX, zoomY );
ImageEnView1.ZoomX := zoomX;
ImageEnView1.ZoomY := zoomY;
Note: Because the image is not the same ratio as the control, we need to do an asymmetrical zoom to fill the control completely.
See: https://www.imageen.com/help/TImageEnView.GetIdealZoom.html
Also see:
https://www.imageen.com/help/TImageEnView.IdealComponentWidth.html
https://www.imageen.com/help/TImageEnView.IdealComponentHeight.html
Nigel
Xequte Software
www.imageen.com