Realbasic.Size.Area

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aRealbasic.Size.Area

New in 2011r2

Supported for all project types and targets.

Calculates the area of the object as the width times the height.

Sample Code

This example reads the Area property.

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

MsgBox(Str(rectSize.Area))