GetRenderJobState
Inspección de documentos, Renderizado
Descripción
Devuelve el estado actual de un trabajo de representación sin bloquear
Sintaxis
Delphi
Function TPDFlib.GetRenderJobState(JobHandle: Integer): Integer;DLL
int DLGetRenderJobState(int InstanceID, int JobHandle);ActiveX
Function PDFlib::GetRenderJobState(JobHandle As Long) As LongParámetros
| JobHandle | El identificador devuelto por StartRenderPageJob |
|---|
Valores devueltos
| 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 | El identificador no es válido |
Observaciones
Use GetRenderJobResult para leer el resultado subyacente de renderización después de completarse o fallar