iOSFont.Constructor(postscriptName As Text, pointSize As Double)

From Xojo Documentation

Constructor
iOSFont.Constructor(postscriptName As Text, pointSize As Double)

Creates an iOSFont from the postscriptName.

Notes

iOS adds a few additional fonts:

  • KhmerSangamMN
  • DamascusLight
  • LaoSangamMN
  • AppleSDGothicNeo-UltraLight
  • KohinoorDevanagari-Light
  • KohinoorDevanagari-Medium
  • KohinoorDevanagari-Book

Sample Code

Sets a button text to use Courier:

Var courier As New iOSFont("Courier", 18)
Button1.TextFont = courier