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
声明
property OperationCancellationToken: THPDFCancellationToken read FOperationCancellationToken write FOperationCancellationToken;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
| 此成员不暴露显式参数 | |
返回值
Gets or sets a caller-owned THPDFCancellationToken reference, or nil when document operations should not use a shared token
使用说明
- 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