| Category | Error handling |
|---|
Purpose — Read the current error-mode bitmask.
Description — Returns FErrorMode verbatim (default $0000FFFF).
Declarations
C
int32_t __stdcall pdfGetErrorMode(PPDF IPDF);
Delphi
function pdfGetErrorMode(const IPDF: PPDF): Integer; stdcall; external 'LumasPdf.dll';
Return value — The em* bitmask, or 0 if the handle is invalid (which is indistinguishable from a genuine emIgnoreAll; validate the handle separately if that matters).
See also — pdfSetErrorMode
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
public static extern int pdfGetErrorMode(IntPtr IPDF);
Area
Core SDK
Category
Getters
Exported names
pdfGetErrorMode
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.