DelphiVCL.Image or TImage displays a graphical image.
Use TImage to display a graphical image on a form. Use the TPicture object in the Picture property to specify the actual bitmap, con, metafile, or other graphic object displayed by TImage. Properties and methods of TPicture can be used for such things as loading an image from a file, clearing the image in the TImage, and assigning an image for another control. TImage introduces several properties to determine how the image is displayed within the boundaries of the TImage object.
To add an image to a form or data module so that it is available for display by other controls, such as action lists and bitmap buttons, use a TImageList control instead.
A TImage may hold a bitmap, icon, PNG, GIF, or JPEG image. A TImageList may hold any image type a TImage holds.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Image using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Image) |
See the responses in our Windows command prompt:
You can also read short informations about the DelphiVCL.Image using the print() command:
1 2 |
print(DelphiVCL.Image) print(DelphiVCL.Image.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.