deleteFont

Requires FilterMeister 1.0 Beta 9.1 (Feb 2009) or newer

Syntax

int deleteFont(int n)

Arguments

n
The number of the font to delete (from memory), in the range 0 - 31.

Return

Returns true if the font was successfully removed from FM memory, false otherwise.

Description

Deletes a font object reference from memory in FilterMeister. The font must first have been created/assigned using the createFont function.

Comment

Behind the scenes, FilterMeister just uses the [DeleteObject] function from the Win32 API.

Example

// Delete the object for font #10
deleteFont(10);

Also see

createFont, setCtlFont