Lua:createFont
Jump to navigation
Jump to search
<> Reference
function createFont() : Font
Creates a Font object initialized from Cheat Engine's main window font.
Assign the returned object to a control's Font property or change its properties before assigning it.
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| None | — | This function does not take parameters. |
Returns[edit]
Font — A new font object.
Examples[edit]
local font = createFont() font.Name = "Consolas" font.Size = 12
See Also[edit]
Main Pages