SetFormFieldCaption
Form fields
คำอธิบาย
ตั้งคำอธิบาย (caption) ของฟิลด์ฟอร์ม ใช้กับฟิลด์ฟอร์มแบบปุ่ม, checkbox และ radio button เท่านั้น
ไวยากรณ์
Delphi
Function TPDFlib.SetFormFieldCaption(Index: Integer; Const NewCaption: WideString): Integer;
ActiveX
Function PDFlib::SetFormFieldCaption(Index As Long, NewCaption As String) As Long
DLL
int DLSetFormFieldCaption(int InstanceID, int Index, const wchar_t * NewCaption);
พารามิเตอร์
| Index | ดัชนีของฟิลด์ฟอร์ม |
|---|---|
| NewCaption | คำอธิบายใหม่ของฟิลด์ฟอร์ม |
ค่าที่ส่งคืน
| 0 | ไม่พบฟิลด์ฟอร์มหรือพารามิเตอร์ไม่ถูกต้อง ตั้งคำอธิบายของฟิลด์ฟอร์มสำเร็จแล้ว |
|---|---|
| 1 |