 | PdfiumFPDF_GetLastError Method |
Get last error code when an SDK function failed.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static uint FPDF_GetLastError()
Public Shared Function FPDF_GetLastError As UInteger
public:
static unsigned int FPDF_GetLastError()
static member FPDF_GetLastError : unit -> uint32
public static UInt32 FPDF_GetLastError()
Patagames.Pdf.Pdfium.FPDF_GetLastError = function();
Return Value
UInt32A 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;
RemarksIf the previous SDK call succeeded, the return value of this function is not defined.
See Also