NewChildFormField
Câmpuri de formular
Descriere
Adaugă un câmp de formular nou pe pagina selectată, ca copil al altui câmp
Sintaxă
Delphi
Function TPDFlib.NewChildFormField(Index: Integer; Const Title: WideString; FieldType: Integer): Integer;
ActiveX
Function PDFlib::NewChildFormField(Index As Long, Title As String, FieldType As Long) As Long
DLL
int DLNewChildFormField(int InstanceID, int Index, const wchar_t * Title, int FieldType);
Parametri
| Index | Indexul câmpului părinte Titlul noului câmp de formular. Titlul nu poate conține caracterul punct "." |
|---|---|
| Title | |
| FieldType | Tipul câmpului de creat: 1 = Text 2 = Pushbutton 3 = Checkbox 4 = Radiobutton 5 = Choice 6 = Signature 7 = Parent |
Valori returnate
| 0 | Noul câmp de formular nu a putut fi creat |
|---|---|
| Non-zero | Câmpul de formular a fost creat cu succes, iar aceasta este indexul noului câmp |