Click or drag to resize

PdfiumFPDF_GetLastError Method

Get last error code when an SDK function failed.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static uint FPDF_GetLastError()

Return Value

UInt32
A 32-bit integer indicating error codes (defined below). 0 no error; 1 unknown error; 2 file not found or could not be opened; 3 file not in PDF format or corrupted; 4 password required or incorrect password; 5 unsupported security scheme; 6 page not found or content error; 1001 the requested operation cannot be completed due to a license restrictions;
Remarks
If the previous SDK call succeeded, the return value of this function is not defined.
See Also