Hi,
If you load an image using SetObjBitmapFromFile it stretches it to fit the specified TRect. Is it possible to get the image to AutoFit without stretching?
ImageEnVect1.SetObjBitmapFromFile(-1, 'MyDifferentSizeImage.jpg'); ImageEnVect1.ObjKind[-1] := iekBitmap; ImageEnVect1.SetObjRect(-1, Rect(0, 0, 800, 600)); ImageEnVect1.AddNewObject();
Thanks & Regards Eric |