THotPDF.RenderLoadedPageToBitmapAsync Method
Method summary: THotPDF.RenderLoadedPageToBitmapAsync Method
Declaration
function RenderLoadedPageToBitmapAsync(PageIndex, DPI: Integer): TThread;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based loaded page index |
DPI | Rendering resolution in dots per inch |
Return value
Returns a started TThread instance owned by the caller
Usage notes
- The returned thread has FreeOnTerminate set to False and must be freed by the caller
- Use GetLoadedCachedRenderedBitmap after the worker completes to retrieve the cached page bitmap
Related APIs
- THotPDF
- THPDFPage
- Contents