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

IndexIndex field induk. Judul form field baru. Judul tidak boleh mengandung karakter titik "."
Title
FieldTypeTipe field yang akan dibuat: 1 = Text 2 = Pushbutton 3 = Checkbox 4 = Radiobutton 5 = Choice 6 = Signature 7 = Parent

Nilai kembalian

0Form field baru gagal dibuat
Non-zeroForm field berhasil dibuat, dan ini adalah index field baru tersebut