StartRenderPageJobA
Document inspection, Rendering
Description
ANSI variant of StartRenderPageJob
Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
Syntax
DLL
int DLStartRenderPageJobA(int InstanceID, const char* FileName, const char* Password, const char* OutputFileName, double DPI, int Page, int Options);Return values
| >0 | A 1-based job handle for use with the render-job control methods |
|---|---|
| 0 | The job could not be started |
Remarks
Poll progress with GetRenderJobState and block with WaitForRenderJob; both return the RENDER_JOB_STATE_* codes
Use PauseRenderJob, ResumeRenderJob and CancelRenderJob to interrupt a running page without losing the worker thread
The instance that started the job owns it; freeing the instance joins outstanding jobs, so a half-finished page never outlives its owner