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);

پارامترها

Indexشاخص فیلد والد عنوان فیلد فرم جدید؛ عنوان نمی‌تواند نویسهٔ نقطه "." را داشته باشد
Title
FieldTypeنوع فیلدی که ساخته می‌شود: 1 = Text 2 = Pushbutton 3 = Checkbox 4 = Radiobutton 5 = Choice 6 = Signature 7 = Parent

مقادیر بازگشتی

0فیلد فرم جدید ساخته نشد
Non-zeroفیلد فرم با موفقیت ساخته شد و این، شاخص فیلد جدید است