NewChildFormField
Bidang formulir
Deskripsi
Menambahkan form field baru ke halaman terpilih sebagai anak dari field lain
Sintaks
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);
Parameter
| Index | Index field induk. Judul form field baru. Judul tidak boleh mengandung karakter titik "." |
|---|---|
| Title | |
| FieldType | Tipe field yang akan dibuat: 1 = Text 2 = Pushbutton 3 = Checkbox 4 = Radiobutton 5 = Choice 6 = Signature 7 = Parent |
Nilai kembalian
| 0 | Form field baru gagal dibuat |
|---|---|
| Non-zero | Form field berhasil dibuat, dan ini adalah index field baru tersebut |