iOSGraphics.Width
From Xojo Documentation
Read-Only Property (As Integer )
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)
g.DrawLine(0, 0, g.Width, g.Height)