SetFormFieldChildTitle
ฟิลด์ฟอร์ม
คำอธิบาย
ตั้งชื่อเรื่องของฟิลด์ฟอร์มที่ระบุ ฟิลด์ฟอร์มที่จัดเป็นลำดับชั้น ฟังก์ชันนี้ตั้งแค่ส่วนท้ายของชื่อฟิลด์เท่านั้น เช่น ฟิลด์ชื่อ "Address.ZipCode" เปลี่ยนเป็น "Address.PostalCode" ได้
ไวยากรณ์
Delphi
Function TPDFlib.SetFormFieldChildTitle(Index: Integer; Const NewTitle: WideString): Integer;
ActiveX
Function PDFlib::SetFormFieldChildTitle(Index As Long, NewTitle As String) As Long
DLL
int DLSetFormFieldChildTitle(int InstanceID, int Index, const wchar_t * NewTitle);
พารามิเตอร์
| Index | ดัชนีของฟิลด์ฟอร์มที่จะตั้งชื่อเรื่อง |
|---|---|
| NewTitle | ค่าใหม่สำหรับส่วนท้ายของชื่อเรื่องของฟิลด์ที่ระบุ |
ค่าที่ส่งคืน
| 0 | ไม่พบฟิลด์ฟอร์ม |
|---|---|
| 1 | เปลี่ยนชื่อเรื่องของฟิลด์ฟอร์มที่ระบุสำเร็จแล้ว |