PDFViewCtrlThumbnailRequestHandlerGetThumbAsync Method |
This will request a thumbnail for the page given by pageNum.
When the thumbnail is ready, the OnThumbnailGenerated event will be raised with the finished thumbnail.
If multiple requests are made, the thumbnail requests will be processed starting with the last request.
The exception is that the current thumbnail being rendered will always finish.
It is recommended to cancel all thumbnail requests once they are not needed any more, using PDFViewCtrl.CancelAllThumbRequests();
If caching is enabled, this request will be much faster once the thumb has been rendered once.
You can enable caching by using pdftron.PDFNet.SetViewerCache and pdftron.PDFNet.SetDefaultDiskCachingEnabled(true);
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void GetThumbAsync(
int pageNum
)
Public Sub GetThumbAsync (
pageNum As Integer
)
public:
virtual void GetThumbAsync(
[InAttribute] int pageNum
) sealed
function GetThumbAsync(pageNum);
Parameters
- pageNum
- Type: SystemInt32
[Missing <param name="pageNum"/> documentation for "M:pdftron.PDF.PDFViewCtrlThumbnailRequestHandler.GetThumbAsync(System.Int32)"]
See Also