SetRenderJobControl

Rendering, advanced integration

Description

Connects cooperative cancellation and pause state to an isolated rendering instance

Syntax

Delphi

Procedure TPDFlib.SetRenderJobControl(CancelFlag: Pointer; PauseGate: TPLIntPtr);

Parameters

CancelFlagA pointer to a Boolean flag polled between rendering operations, or nil
PauseGateA platform event handle used as a pause gate, or 0

Remarks

This low-level hook supports custom isolated render workers

Applications normally use StartRenderPageJob, PauseRenderJob, ResumeRenderJob, and CancelRenderJob instead

The caller owns both values and must keep them valid for the complete rendering operation