pdfGetActionCount
Total number of actions registered on this instance, across all
| Category | Actions |
|---|
Purpose — Total number of actions registered on this instance, across all kinds and all attachment points.
Declarations
C
int32_t __stdcall pdfGetActionCount(PPDF IPDF);
Delphi
function pdfGetActionCount(const IPDF: PPDF): Integer; stdcall; external 'LumasPdf.dll';
Return value — Count of registered actions, 0 if the handle is invalid. This counts *all* actions ever registered by any pdfCreate*Action call (including pdfCreateMovieAction), regardless of whether they are attached to anything.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfGetActionCount(IntPtr IPDF);
Area
Core SDK
Category
Getters
Exported names
pdfGetActionCount
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.