iOSView.ContentSize

From Xojo Documentation

Revision as of 18:32, 23 August 2018 by PLefebvre (talk | contribs) (Created page with "{{MethodBox | name = ContentSize | ownertype = class | scope = public | parameters = | owner = iOSView | returntype = Xojo.Core.Size | project=Mobile | target=iOS }}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

iOSView.ContentSize() As Xojo.Core.Size

Supported on Mobile(iOS).

The size (in points) of the content area of the View. This excludes the Navigation Bar, Tab Bar and Toolbar if they are on the View.

Sample Code

Get the content size of the View:

Dim screenSize As Text = Self.ContentSize.Width.ToText + " by " + Self.ContentSize.Height.ToText