C
int32_t __stdcall pdfGetInFieldCount(PPDF IPDF);
Delphi
function pdfGetInFieldCount(const IPDF: PPDF): Integer; stdcall;
Purpose. Return the field count in the currently open import file — the field-cluster counterpart of the several other pdfGetIn* getters (Document Info & Structure Tree/E13) that follow the same convention.
Description. Follows the established pdfGetIn* pattern: fails with the distinct NO_IMPORT_ERR sentinel if no import file is open (not the generic 0).
Return value. The import source's field count; NO_IMPORT_ERR if no import file is open; 0 if IPDF is invalid.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfGetInFieldCount(IntPtr IPDF);
Area
Forms
Category
Getters
Exported names
pdfGetInFieldCount
String variants
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
See working code
Worked examples — complete programs in ten languages.