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
Déclaration
property OperationCancellationToken: THPDFCancellationToken read FOperationCancellationToken write FOperationCancellationToken;
Unité
HPDFDoc
Paramètres
| Nom | Objectif |
|---|---|
| This member does not expose explicit parameters | |
Valeur de retour
Gets or sets a caller-owned THPDFCancellationToken reference, or nil when document operations should not use a shared token
Notes d'utilisation
- 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