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
Deklarace
function BeginLoadedPageProgressiveRender(PageIndex, DPI: Integer; CancellationToken: THPDFCancellationToken= nil): THPDFLoadedPageRenderSession;
Jednotka
HPDFDoc
Parametry
| Název | Účel |
|---|---|
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 |
Návratová hodnota
Returns a caller-owned THPDFLoadedPageRenderSession that retains the partial bitmap and render state
Poznámky k použití
- 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