RectShape.Height

From Xojo Documentation

Revision as of 16:05, 26 November 2014 by PLefebvre (talk | contribs)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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)