iOSButton.TextFont

From Xojo Documentation

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

Property (As iOSFont )
aiOSControl.TextFont = newiOSFontValue
or
iOSFontValue = aiOSControl.TextFont

Supported on Mobile (iOS).

The font use for displaying the Caption.

Sample Code

Change the button font and text size:

Button1.TextFont = iOSFont.ItalicSystemFont
Label1.TextFont = iOSFont.SystemFont(32)