GetRenderJobState
Inspection de documents, rendu
Description
Renvoie l’état actuel d’une tâche de rendu sans blocage
Syntaxe
Delphi
Function TPDFlib.GetRenderJobState(JobHandle: Integer): Integer;DLL
int DLGetRenderJobState(int InstanceID, int JobHandle);ActiveX
Function PDFlib::GetRenderJobState(JobHandle As Long) As LongParamètres
| JobHandle | Le handle renvoyé par StartRenderPageJob |
|---|
Valeurs de retour
| 1 | RENDER_JOB_STATE_QUEUED |
|---|---|
| 2 | RENDER_JOB_STATE_RUNNING |
| 3 | RENDER_JOB_STATE_PAUSED |
| 4 | RENDER_JOB_STATE_COMPLETED |
| 5 | RENDER_JOB_STATE_CANCELLED |
| 6 | RENDER_JOB_STATE_FAILED |
| 0 | Le handle n’est pas valide |
Remarques
Utilisez GetRenderJobResult pour lire le résultat de rendu sous-jacent après l'achèvement ou l'échec