Argox PA-20 Basic Programming Manual Bedienungsanleitung Seite 68

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 143
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 142 143

Kommentare zu diesen Handbüchern

Keine Kommentare