DocumentPreviewCacheGetBitmapWithPath Method |
getBitmapWithPath gets the path to the thumbnail in the DocumentPreviewCache associated with the document at 'filepath'.
The decision if the thumb should be re-rendered is based on two factors.
First if the current version fulfills the minimal dimensions 'min_x_size' x 'min_y_size' and
second if the size of the pdf document hasn't changed. To signal an edit of the pdf document without
a resulting re-rendering of the thumb see IrrelevantChangeMade.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static void GetBitmapWithPath(
string filepath,
int min_x_size,
int min_y_size,
Object customData
)
Public Shared Sub GetBitmapWithPath (
filepath As String,
min_x_size As Integer,
min_y_size As Integer,
customData As Object
)
public:
static void GetBitmapWithPath(
[InAttribute] String^ filepath,
[InAttribute] int min_x_size,
[InAttribute] int min_y_size,
[InAttribute] Object^ customData
)
pdftron.PDF.DocumentPreviewCache.GetBitmapWithPath = function(filepath, min_x_size, min_y_size, customData);
Parameters
- filepath
- Type: SystemString
The URL of the pdf file.
- min_x_size
- Type: SystemInt32
Minimal width of the thumbnail.
- min_y_size
- Type: SystemInt32
Minimal height of the thumbnail.
- customData
- Type: SystemObject
Custom data to be passed to the PreviewHandler.
See Also