From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

MobileScreen.Size() As Size

Supported on Mobile.

The size (in points) of the entire Screen area.

Sample Code

Get the size of the Screen:

Var screenSize As String = Self.Size.Width.ToString + " by " + Self.Size.Height.ToString