GetRenderJobLastError
Rendering and printing
Description
Returns the diagnostic recorded by a background render job when loading the source, rendering the page or publishing the output fails
Syntax
Delphi
Function TPDFlib.GetRenderJobLastError(JobHandle: Integer): WideString;
DLL
const wchar_t* DLGetRenderJobLastError(int InstanceID, int JobHandle);
ActiveX
Function PDFlib::GetRenderJobLastError(JobHandle As Long) As String
Available on IPDFlibrary23. Delphi clients using the generated type-library unit can obtain it with CoPDFlibrary.CreateEditionTools23
Parameters
| JobHandle | The handle returned by StartRenderPageJob |
|---|
Return values
Read the result after the job enters the failed state. Pascal and ActiveX return an empty string when the handle is invalid or the job has not recorded an error. The DLL function returns a borrowed UTF-16 string or a null pointer. Copy it before another call on the same instance