GetRenderJobState

Inspeção de documentos, composição

Descrição

Devolve o estado atual de uma tarefa de composição sem bloquear

Sintaxe

Delphi

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

DLL

int DLGetRenderJobState(int InstanceID, int JobHandle);

ActiveX

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

Parâmetros

JobHandleO identificador devolvido por StartRenderPageJob

Valores devolvidos

1RENDER_JOB_STATE_QUEUED
2RENDER_JOB_STATE_RUNNING
3RENDER_JOB_STATE_PAUSED
4RENDER_JOB_STATE_COMPLETED
5RENDER_JOB_STATE_CANCELLED
6RENDER_JOB_STATE_FAILED
0O identificador é inválido

Observações

Utilize GetRenderJobResult para ler o resultado da composição subjacente após a conclusão ou falha