iOSGraphics.Width

From Xojo Documentation

Revision as of 15:53, 20 August 2018 by PLefebvre (talk | contribs) (Created page with "{{PropertyBox | name=Width | owner=iOSGraphics | ownertype=class | readonly=yes | scope=public | type=Integer | project=Mobile | target=iOS }} {{Description | text = T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Read-Only Property (As Integer )
IntegerValue = aiOSGraphics.Width

Supported on Mobile (iOS).

The width of the graphics area, in points.

Sample Code

From within an iOSCanvas.Paint event handler:

g.LineColor = Color.Blue
g.DrawLine(0, 0, g.Width, g.Height)