THotPDF.OperationCancellationToken Property
Controls the operation cancellation token setting used by the document creation workflow. Set it before the related page, document or resource output is written so the generated PDF records the intended state
Declaration
property OperationCancellationToken: THPDFCancellationToken read FOperationCancellationToken write FOperationCancellationToken;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member carries no explicit parameters | |
Return value
Gets or sets a caller-owned THPDFCancellationToken reference, or nil when document operations should not use a shared token
Usage notes
- The document does not own or free the assigned token
- The token must remain valid for the complete load, render, optimisation or validation call and for every progressive session that inherits it
- Clear the property before freeing the token and create a new token for a later operation because cancellation is one-shot