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 | فیلد فرم با موفقیت ساخته شد و این، شاخص فیلد جدید است |