THotPDF.GetLoadedCachedRenderedBitmap Method

Returns a bitmap for a loaded page from the thread-safe render cache, rendering and caching it when necessary

Declaration

function GetLoadedCachedRenderedBitmap(PageIndex, DPI: Integer): TBitmap;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based loaded page index
DPIRendering resolution in dots per inch

Return value

Returns the cached or newly rendered bitmap, or nil for an invalid page index

Usage notes

Related APIs