From Xojo Documentation

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

Property (As iOSFont )
aiOSGraphics.TextFont = newiOSFontValue
iOSFontValue = aiOSGraphics.TextFont

Supported on Mobile (iOS).

The font to use when drawing text.

Sample Code

From within an iOSCanvas.Paint event handler:

g.TextFont = New iOSFont("Helvetica Neue", 12)
g.FillColor = Color.Blue
g.DrawTextBlock("Hello, World!", 30, 30)