PDFViewCtrlThumbnailRequestHandler Class |
Namespace: pdftron.PDF
public sealed class PDFViewCtrlThumbnailRequestHandler : IClosable
The PDFViewCtrlThumbnailRequestHandler type exposes the following members.
Name | Description | |
---|---|---|
Close | ||
Equals | (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetThumbAsync |
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);
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
OnThumbnailGenerated | Occurs when a thumbnail that was requested though GetThumbAsync(int pageNum) is ready.
See GetThumbAsync(int pageNum) for more information.
|