Creates a new font.
Contents |
int wb_create_font(string name, int height [, int color [, int flags]])
The function returns an integer value that is the font identifier.
After use, the font must be destroyed by a call to wb_destroy_font() to prevent resource leaks.
Creates a font, and uses it to change the look of a Label control
$font = wb_create_font("Arial", 14, BLACK, FTA_BOLD);
wb_set_font($label, $font);