GetFormFieldRichTextStringA

表单字段

描述

后缀 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式,其行为与 GetFormFieldRichTextString 相同,字符串参数使用当前 SetAnsiMode 代码页进行解释

使用给定键检索指定表单字段的富文本(RV)或默认样式(DS)字符串,返回值格式由 PDF Specification 中标题为 "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" = 返回富文本字符串;"DS" = 返回默认样式字符串