Argox PA-20 Basic Programming Manual Manuale Utente Pagina 68

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 143
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 67
PT-Basic Programming Manual Ver. 1.00 67/143
3.13 Font
This utility “SDK Toolcan be used as the following:
When you need a font file for your application, you can make the font file by
“SDK Tool”, the font generator can help you making a font file.
3.13.1 User font commands
DISPFONT_SETFONT
Purpose
To set user font from font file.
Syntax
A%=DISPFONT_SETFONT(FontID% ,FontPath$)
Example
A%=DISPFONT_SETFONT(2,"D:\Fonts\Font16.cft")
Description
A% is an integer variable to be assigned to the result.
A%
Meaning
0
Set font fail
1
Set font OK
Several key arguments as below:
FontID%
Font ID (2~9)
FontPath$
Font file path
DISPFONT_INFO_TYPE
Purpose
To get font type.
Syntax
A%=DISPFONT_INFO_TYPE(FontID%)
Example
A%=DISPFONT_INFO_TYPE(2)
Description
A% is an integer variable to be assigned to the result.
FontID% is an integer variable in the range from 2 to 9.
DISPFONT_INFO_HEIGHT
Purpose
To get font height.
Syntax
A%=DISPFONT_INFO_HEIGHT(FontID%)
Example
C%=DISPFONT_INFO_HEIGHT(2)
Description
A% is an integer variable to be assigned to the result.
FontID% is an integer variable in the range from 2 to 9.
Vedere la pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 142 143

Commenti su questo manuale

Nessun commento