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 | 从零开始的已加载页面索引 |
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