Function EN Version 4.50

@RTDocFontsGet

RichText

Syntax

@RTDocFontsGet(HRT1;RETTEXTLIST2;RETFNUMBERLIST3);
@RTDocFontsGet(HRT1;RETTEXTLIST2;RETFNUMBERLIST3;RETFNUMBERLIST4);

Description

Returns the available fonts from the font field HRT HRT1, whose name is usually $Fonts.

RETTEXTLIST2 returns a TEXTLIST containing the names of the fonts included.
RETNUMBERLIST3 returns a NUMBERLIST containing the corresponding font handles.
RETNUMBERLIST4 returns a NUMBERLIST containing the corresponding font families.

Return value:
On success, the number of the included Fonts is returned; otherwise @ERROR.

Example: @RTDocFontsGet(HRT1;RETTEXTLIST2;RETFNUMBERLIST3;RETFNUMBERLIST4);

Ret:=@RTDocFontsGet($Fonts[noteh1];RETTEXTLIST2;RETFNUMBERLIST3;RETFNUMBERLIST4);

Returns information about the fonts contained in the font field (HRT) $Fonts of the document identified by NOTEHANDLE noteh1.

Note : This text was machine-translated and may contain inaccuracies.