API reference › Import & Output APIs
pdfGetImportDataAction
Read back an ImportData action created earlier (action
Purpose — Read back an ImportData action created earlier (action handle from pdfCreateImportDataAction).
Description — Zero-fills the caller's TPDFImportDataAction and sets Data.FileName to the action's stored FDF file name (instance-owned buffer, valid until the next call).
C
BOOL32 __stdcall pdfGetImportDataAction(PPDF IPDF, uint32_t Handle, TPDFImportDataAction* Action);
Return value — TRUE when Handle (1-based) refers to an ImportData action; FALSE otherwise.
Document-file introspection
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Import & Output APIs
Category
Getters
Exported names
pdfGetImportDataAction
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.