Specify Component's Height Properties using .Height
February 22, 2021
.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:
# Draw a rectangle
shpRectangle = Shape(pgOne)
shpRectangle.SetProps(Parent=pgOne,Shape = 'stRectangle')
shpRectangle.SetBounds(5,5,460,100)
The…