Skip to content

setName()

Set the font's name.

Parameters

Once an object font has been created, you can use the following function:

font.setName(name)
Parameter Type Default Description
name str required The new font name, for example "Serif", "Dialog", or "TimesRoman".