Font.Constructor(postscriptName As String, pointSize As Double)

From Xojo Documentation

Revision as of 18:27, 19 November 2020 by PLefebvre (talk | contribs) (Sample Code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructor

Font.Constructor(postscriptName As String, pointSize As Double)

New in 2020r2

Returns a Font object for the font name passed at the size passed.

Sample Code

Get a Font object for the Helvetica font at 12 point size:

Var helvetica12 As New Font("Helvetica", 12)