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
اعلان
function BeginLoadedPageProgressiveRender(PageIndex, DPI: Integer; CancellationToken: THPDFCancellationToken= nil): THPDFLoadedPageRenderSession;
واحد
HPDFDoc
پارامترها
| نام | هدف |
|---|---|
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 |
مقدار بازگشتی
Returns a caller-owned THPDFLoadedPageRenderSession that retains the partial bitmap and render state
یادداشتهای استفاده
- 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