GetFormFieldCaptionEx

表单字段

描述

根据指定参数返回表单字段标题

参数指定要提取的字符串,选项包括 CA、RC 和 AC 字符串,但 RC 和 AC 仅保留给按钮,从单选按钮或复选框提取 RC 或 AC 将返回空字符串,因为这些按钮类型不使用它们,更多信息请参阅 PDF 格式参考手册

语法

Delphi

Function TPDFlib.GetFormFieldCaptionEx(Index: Integer; StringType: Integer): WideString;

ActiveX

Function PDFlib::GetFormFieldCaptionEx(Index As Long, StringType As Long) As String

DLL

const wchar_t * DLGetFormFieldCaptionEx(int InstanceID, int Index, int StringType);

参数

Index表单字段的索引
StringType1 = CA 字符串 2 = RC 字符串 3 = AC 字符串