GetRenderJobState
文档检查、渲染
描述
返回渲染作业当前状态而不阻塞
语法
Delphi
Function TPDFlib.GetRenderJobState(JobHandle: Integer): Integer;DLL
int DLGetRenderJobState(int InstanceID, int JobHandle);ActiveX
Function PDFlib::GetRenderJobState(JobHandle As Long) As Long参数
| JobHandle | StartRenderPageJob 返回的句柄 |
|---|
返回值
| 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 | 句柄无效 |
备注
完成或失败后使用 GetRenderJobResult 读取底层渲染结果