THotPDF.GetLoadedFormFieldNames Method
Gets a list of names for all existing Form Fields in the loaded PDF document.
Declaration
function GetLoadedFormFieldNames: THPDFAnsiStringArray;
Unit
HPDFDoc
Return value
返回一个 THPDFAnsiStringArray,包含了文档中每个表单控件对应名称的字符串数组。
Usage notes
- 此方法通常与
GetLoadedFormFieldValues配合使用,通过遍历返回的名称数组与值数组,可以快速读取表单填报内容。 - The returned array may contain names of various interactive form types, such as text boxes, check boxes, and combo boxes.