![featuredImage2 → Python GUI featuredimage2 4](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/03/featuredImage2-9015423.png?resize=1140%2C675&ssl=1)
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:
![0dir8498922 → Python GUI 0dir 8498922](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/05/0dir-8498922.png?resize=685%2C115&ssl=1)
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:
![0print5502558 → Python GUI 0print 5502558](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/05/0print-5502558.png?resize=685%2C105&ssl=1)
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.