Click or drag to resize

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
)

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