GetRenderJobState
Ispezione dei documenti, rendering
Descrizione
Restituisce lo stato corrente di un processo di rendering senza bloccare
Sintassi
Delphi
Function TPDFlib.GetRenderJobState(JobHandle: Integer): Integer;DLL
int DLGetRenderJobState(int InstanceID, int JobHandle);ActiveX
Function PDFlib::GetRenderJobState(JobHandle As Long) As LongParametri
| JobHandle | L'handle restituito da StartRenderPageJob |
|---|
Valori restituiti
| 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 | L'handle non รจ valido |
Note
Usare GetRenderJobResult per leggere il risultato di rendering sottostante dopo il completamento o l'errore