Size.Area

From Xojo Documentation

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

New in 2019r2

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.

Var rectSize As New Size
rectSize.Height = 150
rectSize.Width = 200

MessageBox(rectSize.Area.ToString)