FreeFont

From SwinGame

FreeFont frees a loaded font. You do not need to do this manually if you are using the Game Resources.

Where is it: SGSDK_FONT

Contents

Languages

Pascal

procedure FreeFont(var fontToFree: Font);

C#

public void Text.FreeFont(ref Font fontToFree);

Visual Basic .NET

Public Sub Text.FreeFont(ByRef fontToFree As Font)

Visual Basic 6

Public Sub Text.FreeFont(ByRef fontToFree As Fonts)

Example

Also See