TftSetSndFont()

Library Description ›› Fonts ›› SND ››
 visits
Parent Previous Next

Syntax

TftSetSndFont(bSndFont As Byte, pSmooth As Bit)

Parameters

Parameter

Description

bSndFont

font index

pSmooth

smooth resizing option
1 = Yes (enable smooth resizing)
0 = No (disable smooth resizing)

Overview

Select the SND font to be used.

Example

TftSetSndFont(1,0)

To use a specific SND font, you must include the corresponding SND font *.inc file in your project.
Then, in your code, select the SND font with the TftSetSndFont() command. This command should only be issued once.
If multiple SND fonts are used, the currently selected font will remain active until changed by issuing another TftSetSndFont() command.


The pSmooth parameter enables or disables smooth font resizing, as explained in the previous section.

Created with the Personal Edition of HelpNDoc: Easily create Help documents