If I load an image from a file like this Image1.Picture.LoadFromFile(imagePath); and the JPEG I load is bigger than Image1 which is a TImage – how do I scale it to fit?
If I load an image from a file like this Image1.Picture.LoadFromFile(imagePath); and the JPEG
Share
Set the
Stretchproperty of theTImagecontrol toTrue.As this documentation indicates, a related alternative is the
Proportionalproperty.