iOSGraphics.Width

From Xojo Documentation

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

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)