
.Height specifies the vertical size of the control in pixels.
Use the Height property to read or change the height of the control.
Here is the example of drawing a rectangle with Height=100, 200, or 300:
1 2 3 4 |
# Draw a rectangle shpRectangle = Shape(pgOne) shpRectangle.SetProps(Parent=pgOne,Shape = 'stRectangle') shpRectangle.SetBounds(5,5,460,100) |
The results:



Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.