Realbasic.Size

From Xojo Documentation

Class (inherits from Object)


New in 2011r2

An object used to represent the dimensions of an object.

Properties
Area fa-lock-32.png Height Width
Methods
Clone
Constructors

Constructor()


Constructor(Width as Integer,Height as Integer)


Sample Code

This example reads the Area property.

Dim rectSize As New Realbasic.Size
rectSize.Height = 150
rectSize.Width = 200

MsgBox(Str(rectSize.Area))

See Also

Canvas control; Window, ContainerControl, Realbasic.Point, Realbasic.Rect classes.