Board index » delphi » About TImage

About TImage

Dear all,

  If I use the component TImage, is it able to rescale an image in a
simple way. Like originally a 30x30 image rescale to a 30x40 image.
  Thanks.

Bad Orange

 

Re:About TImage


Quote
cp...@cs.cuhk.hk (Bad Orange) wrote:
>Dear all,

>  If I use the component TImage, is it able to rescale an image in a
>simple way. Like originally a 30x30 image rescale to a 30x40 image.

        Yes. This is what the Stretch property does (see TImage in
delphi.hlp; you may want to look at AutoSize as well.)

--
David Ullrich
Don't you guys find it tedious typing the same thing
after your signature each time you post something?
I know I do, but when in Rome...

Other Threads