TftSetSndFont()

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

TftSetSndFont(bSndFont As Byte, pSmooth As Bit)


bSndFont = font index

pSmooth = smooth resizing option

• 1 = Yes (enable smooth resizing)

• 0 = No (disable smooth resizing)


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: Make CHM Help File Creation a Breeze with HelpNDoc