NewChildFormField

양식 필드

설명

선택한 페이지에 다른 필드의 자식으로 새 양식 필드를 추가합니다

구문

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);
int DLNewChildFormFieldA(int InstanceID, int Index, const char* Title, int FieldType);

매개변수

Index부모 필드의 인덱스입니다
Title새 양식 필드의 제목입니다. 제목에는 마침표 "." 문자를 포함할 수 없습니다
FieldType생성할 필드 유형: 1 = Text 2 = Pushbutton 3 = Checkbox 4 = Radiobutton 5 = Choice 6 = Signature 7 = Parent

반환 값

0새 양식 필드를 만들 수 없습니다
Non-zero양식 필드가 성공적으로 생성되었으며 새 필드의 인덱스입니다