> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On 
> Behalf Of Myles Penlington
> Sent: Thursday, 1 July 1999 11:19
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: [DUG]:  Image size
> 
> Can't you just calculate the required (scaled) size of the 
> Destination bitmap, and then set Stretch = True? May need to put 
> it on a Scrollable panel?
> Myles

Hi Myles. If I did that, it would crop the bitmap.
As per the following:
         TestDib := TWAIN_GetDib(0);
         image2.Picture.Bitmap.Height:=Clientheight;
         image2.Picture.Bitmap.width:=Clientwidth;
         CopyDibIntoImage(TestDib, Image2);

winmail.dat

Reply via email to