Navigation:  Macro > Instructions > Chaîne de caractères >

LFONT LOAD

AiM Services
Previous pageReturn to chapter overviewNext page

LFONT LOAD Num;Font_name$,[Err]

Cette instruction permet de lire une police de caractères et de la placer en mémoire. Le numéro de la police de caractères doit être compris entre 0 et 9. Si l'on désire installer une police de caractère Windows, il est nécessaire d'ajouter au nom de la police les caractères '[W]'.
Polices de caractères utilisables :
 

DIN17.P.font

DIN17.font

ISO3098.P.font

ISO3098.font

SYMB.font

bhelv.P.font

bhelvetic.font

bold.P.font

bold.font

cir.P.font

cir.font

gothic.P.font

gothic.font

helv.P.font

helvetic.font

roman.P.font

roman.font

roman2.P.font

roman2.font

smooth.P.font

smooth.font

std.P.font

std.font

times.P.font

times.font

tabtxt01.font

tabtxt02.font

tabtxt03.font

tabtxt04.font

tabtxt05.font

tabtxt06.font

tabtxt07.font

tabtxt08.font

tabtxt15.font

wingdings.font

...

arial.ttf

arialbd.ttf

arialbi.ttf

ariali.ttf

comic.ttf

comicbd.ttf

cour.ttf

courbd.ttf

courbi.ttf

couri.ttf

frutiger.ttf

times.ttf

timesbd.ttf

timesbi.ttf

timesi.ttf

...

Arial<>[W]

Arial<b>[W]

Arial<i>[W]

Arial<bi>[W]

Georgia<>[W]

Georgia<b>[W]

Georgia<bi>[W]

...

 

Exemple

 LFONT GET 0;Nom$,Type
 TEXT POS Nom$,"DIN17.P",Pos
 IF Pos<>1 THEN
   LFONT LOAD 0,"DIN17.P",Err
 END IF