GetRenderJobResult

Document inspection, Rendering

Description

Returns the result code the worker observed from the underlying RenderPageToFile call

Syntax

Delphi

Function TPDFlib.GetRenderJobResult(JobHandle: Integer): Integer;

DLL

int DLGetRenderJobResult(int InstanceID, int JobHandle);

ActiveX

Function PDFlib::GetRenderJobResult(JobHandle As Long) As Long

Parameters

JobHandleThe handle returned by StartRenderPageJob

Return values

1The page rendered successfully
0The job has not produced a success result yet, or the handle is invalid

Remarks

Pair this with GetRenderJobState to tell completed successes from cancelled and failed jobs