GetFormFieldRichTextStringA

表單欄位

描述

結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetFormFieldRichTextString 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀

以指定的鍵取出指定表單欄位的 Rich Text (RV) 或預設樣式 (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" = 傳回 RTF 字串,"DS" = 傳回預設樣式字串