NewChildFormField
Lomakekentät
Kuvaus
Lisää uuden lomakekentän valitulle sivulle toisen kentän lapseksi
Syntaksi
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);
Parametrit
| Index | Vanhemman kentän indeksi Uuden lomakekentän otsikko. Otsikko ei saa sisältää pistettä "." |
|---|---|
| Title | |
| FieldType | Luotavan kentän tyyppi: 1 = Text 2 = Pushbutton 3 = Checkbox 4 = Radiobutton 5 = Choice 6 = Signature 7 = Parent |
Paluuarvot
| 0 | Uutta lomakekenttää ei voitu luoda |
|---|---|
| Non-zero | Lomakekentän luonti onnistui, ja tämä on uuden kentän indeksi |