SetFormFieldFont
Formulářová pole
Popis
Nastaví font, který musí zadané formulářové pole používat
Syntaxe
Delphi
Function TPDFlib.SetFormFieldFont(Index, FontIndex: Integer): Integer;
ActiveX
Function PDFlib::SetFormFieldFont(Index As Long, FontIndex As Long) As Long
DLL
int DLSetFormFieldFont(int InstanceID, int Index, int FontIndex);
Parametry
| Index | Index pole formuláře, s nímž se má pracovat. První pole má index 1 |
|---|---|
| FontIndex | Index fontu k použití. První font ve formuláři má index 1. Počet fontů dostupných ve formuláři zjistíte funkcí GetFormFontCount |
Návratové hodnoty
| 0 | Bad font index or form field not found |
|---|---|
| 1 | Font was set successfully |