GetFormFieldRichTextStringA
Form fields
คำอธิบาย
อักษร A ท้ายชื่อบอกว่าเป็นจุดเรียก DLL แบบ ANSI (char), ส่วน ActiveX/COM เปิดเผยเฉพาะรูปแบบ Unicode พฤติกรรมเหมือน GetFormFieldRichTextString ทุกอย่าง และอาร์กิวเมนต์สตริงถูกตีความตาม code page ปัจจุบันของ SetAnsiMode
ดึงสตริง rich text (RV) หรือ default style (DS) ของฟิลด์ฟอร์มที่ระบุด้วยคีย์ที่ให้มา รูปแบบค่าที่คืนนิยามไว้ในข้อกำหนด PDF หัวข้อ "Field Dictionaries"
ไวยากรณ์
Delphi
Function DLGetFormFieldRichTextStringA(InstanceID, Index: Integer; Key: PAnsiChar): PAnsiChar;
DLL
const char * DLGetFormFieldRichTextStringA(int InstanceID, int Index, const char * Key);
พารามิเตอร์
| Index | ดัชนีของฟิลด์ฟอร์มที่ต้องการ ฟิลด์ฟอร์มแรกมีดัชนีเป็น 1 |
|---|---|
| Key | ค่า Key ที่จะคืน "RV" = คืนสตริง rich text, "DS" = คืนสตริงสไตล์เริ่มต้น |