From Xojo Documentation

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

Property (As Boolean )
aiOSGraphics.TextUnderline = newBooleanValue
BooleanValue = aiOSGraphics.TextUnderline

Supported on Mobile (iOS).

Indicates if drawn text should be underlined.

Sample Code

From within an iOSCanvas.Paint event handler:

g.TextFont = New iOSFont("Helvetica Neue", 12)
g.TextUnderline = True
g.DrawTextBlock("Hello, World!", 30, 30)