Distorting oImage

Post Reply
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Distorting oImage

Post by Ollie »

I have an Image defined, but if the image chosen doesn't match the width to height ratio, the image gets distorted. How can I shrink the image to fit the image box without distorting it?
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

You can use the clause ADJUST
kind regards
Stefan
Ollie
Posts: 233
Joined: Sat Dec 30, 2006 6:10 am

Post by Ollie »

Thank you. (I actually had the ADJUST clause, the problem was solved when I removed it.)

Thanks again.
Many thanks
Ollie.

Using:
xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)
Borland C++ 5.5.1
FWH 9.04 (2009 Apr)
Post Reply