Font_End

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > Resources > Fonts >

Font_End

 

Description

 

Destroy a font when it is no longer needed.

 

Syntax

 

Font_End(hFont)

 

Returns

 

Nothing.

 

Parameters

 

Name

Type

Optional

Meaning

hFont

Number

No

Handle of the font to be destroyed.
Handle created with Font_New

 

Remarks

 

When you have no further need for a font originally created with Font_New, you can destroy it and reclaim the memory space which was originally allocated for it.

 

When your program ends, any existing fonts are automatically destroyed.

 

Restrictions

 

See also

 

Examples