DelphiVCL.Size or TSize is used to specify the width and height of an object.
We use TSize to specify the size of an object. The object can be a rectangle, a form, a button, and so on. Typically, the implied units of measurement are pixels.
cx is the width, and cy is the height.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Size using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Size) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Size using the print() command:
1 2 |
print(DelphiVCL.Size) print(DelphiVCL.Size.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.