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
Deklaration
property OperationCancellationToken: THPDFCancellationToken read FOperationCancellationToken write FOperationCancellationToken;
Enhed
HPDFDoc
Parametre
| Navn | Formål |
|---|---|
| This member does not expose explicit parameters | |
Returværdi
Gets or sets a caller-owned THPDFCancellationToken reference, or nil when document operations should not use a shared token
Brugsnoter
- 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