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

From Xojo Documentation

Revision as of 03:28, 19 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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