THotPDF.CancelLoadedPagePrefetch Method
Provides CancelLoadedPagePrefetch behaviour for the page geometry workflow. Use it when the surrounding API family needs explicit control over PDF objects, page content, resources, conformance, or diagnostics
Declaration
procedure CancelLoadedPagePrefetch;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
This member returns no value
Usage notes
- Use this API in the page geometry workflow before the affected page, resource, field or catalogue object is finalised
- Keep object, field and resource names, and returned handles, stable whilst the document is being finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values
- Use
GetLoadedPagePrefetchInfoto distinguish explicit cancellation from foreground preemption and to inspect measured cancellation latency