Argox PA-20 Basic Programming Manual Manual de usuario Pagina 68

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 143
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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.
Vista de pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 142 143

Comentarios a estos manuales

Sin comentarios