A Double value. Returns the height of the rectangle.
Applies to objects: DRect
[[Let] width = ] object.GetHeight() |
The GetHeight method syntax has these parts:
Part | Description |
height | A Double type variable. |
object | A reference to an instance of the object. |
This example is used to calculate the height of a rectangle, which coordinates are stored in MyObject.
Dim h as Double, MyObject as new DRect ' Set DRect object properties MyObject.SetRect(30,30,100,90) ' Determine the height of MyObject w = MyObject.GetHeight() ' h = 60 |
See Also |
DRect Object, GetWidth Method |