THotPDF.BeginLoadedPageProgressiveRender Method
Begins the loaded page progressive render sequence for the page geometry workflow. Keep the returned object or current graphics state balanced with the matching end call before finalising the page or document
Deklaration
function BeginLoadedPageProgressiveRender(PageIndex, DPI: Integer; CancellationToken: THPDFCancellationToken= nil): THPDFLoadedPageRenderSession;
Unit
HPDFDoc
Parameter
| Name | Zweck |
|---|---|
PageIndex | Zero-based loaded page index |
DPI | Positive target raster resolution in dots per inch |
CancellationToken | Optional caller-owned token for this session; nil uses OperationCancellationToken |
Rückgabewert
Returns a caller-owned THPDFLoadedPageRenderSession that retains the partial bitmap and render state
Verwendungshinweise
- Keep the loaded
THotPDFinstance and any explicit token alive until the session is freed - Call
ContinueRenderwith an elapsed-time budget, an operator-count budget, or both until the session completes or is cancelled Bitmapexposes the live partial image andTakeBitmaptransfers the terminal image without copying