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
Déclaration
function BeginLoadedPageProgressiveRender(PageIndex, DPI: Integer; CancellationToken: THPDFCancellationToken= nil): THPDFLoadedPageRenderSession;
Unité
HPDFDoc
Paramètres
| Nom | Objectif |
|---|---|
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 |
Valeur de retour
Returns a caller-owned THPDFLoadedPageRenderSession that retains the partial bitmap and render state
Notes d'utilisation
- 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