Size

From Xojo Documentation

Class (inherits from Object)


New in 2019r2

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 Double,Height as Double)


Sample Code

This example reads the Area property.

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

MessageBox(rectSize.Area.ToString)

See Also

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