Idempotently cancel queued work and join engine cleanup. Returned data remains valid; the OCR provider stays open.
Export a selected appearance as owned PNG bytes, oriented as its placement appears on the page
unless preserveOrientation is set. Unknown IDs fail; full export never silently downscales.
With composite (or the document's composite default), an overlaid or clipped occurrence
(see ExtractImageOptions.composite for all cases) is rendered with everything drawn
above it, cropped to its area; composited reports which.
Optionaloptions: ExtractImageOptionsEnumerate appearances and placements, including inline/nested/reused images. Raster decoding
happens on demand. minWidth/minHeight leave out small images; all images are listed by default.
Each occurrence reports whether the page draws something above it (overlaid).
Optionaloptions: GetImagesOptionsExtract native/OCR text with deterministic geometry-based ordering. Auto OCR includes image
regions on mixed pages. Tables are detected by default and returned in each page's tables;
each table also reads row by row, with tab-separated cells, in the text.
Optionaloptions: StructuredTextOptions
An open PDF handle. Operations are serialized per document; release it with close in a finally block.