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