Xojo.Core.Size.Compare
From Xojo Documentation
Method
Xojo.Core.Size.Operator_Compare(rhs As Xojo.Core.Size) As Integer
Supported for all project types and targets.
Supported for all project types and targets.
You can use the comparison operators (>, <, =, >=, <=, <>) to compare sizes to one another. The comparison is done first by Width and then by Height.
Sample Code
Compare two sizes: