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

IndexIndex pole formuláře, s nímž se má pracovat. První pole má index 1
FontIndexIndex 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

0Bad font index or form field not found
1Font was set successfully