GetFormFieldCaptionExA
表单字段
描述
末尾的 A 表示 ANSI(char)DLL 入口点;ActiveX/COM 接口仅公开 Unicode 形式。其行为与 GetFormFieldCaptionEx 相同,字符串参数按当前 SetAnsiMode 代码页解释
根据指定参数返回表单字段标题
参数指定要提取的字符串,选项包括 CA、RC 和 AC 字符串,但 RC 和 AC 仅保留给按钮,从单选按钮或复选框提取 RC 或 AC 将返回空字符串,因为这些按钮类型不使用它们,更多信息请参阅 PDF 格式参考手册
语法
Delphi
Function DLGetFormFieldCaptionExA(InstanceID, Index, StringType: Integer): PAnsiChar;
DLL
const char * DLGetFormFieldCaptionExA(int InstanceID, int Index, int StringType);
参数
| Index | 表单字段的索引 |
|---|---|
| StringType | 1 = CA 字符串 2 = RC 字符串 3 = AC 字符串 |