RectShape.Height

From Xojo Documentation

Property (As Double )
aRectShape.Height = newDoubleValue
or
DoubleValue = aRectShape.Height

Supported for all project types and targets.

The height of the rectangle.

Example

This example sets the height and width of the shape to 150 pixels.

Dim r As New RectShape
r.Width = 150
r.Height = 150
r.Border = 100
r.BorderColor = RGB(0, 0, 0) // black
r.FillColor = RGB(0, 127, 127) // teal
r.BorderWidth = 2.5
r.Rotation = -0.78
g.DrawObject(r, 100, 100)