THPDFJobProcessor.ExecuteLoadedOperation
Runs a single operation against a borrowed loaded document
class function ExecuteLoadedOperation(Document: THotPDF;
Op: THPDFJSONValue; Output: TStream = nil;
Checkpoint: TNotifyEvent = nil): THPDFJSONValue; static;
The unit is HPDFDocJobs; the caller keeps ownership of the document, operation, output stream and returned result
Binary results such as rendered PNG bytes are written to Output when supplied, whilst JSON results come back as a THPDFJSONKind object tree
The optional checkpoint event fires throughout the operation and preserves cancellation and budget exceptions for cooperative abort
Comparison operations needing a second document use ExecuteLoadedOperationWithComparison, and signing with an explicit timestamp transport uses ExecuteLoadedSigningOperation