Click or drag to resize

DocumentPreviewCacheGetBitmapWithID Method

getBitmapWithID gets the path to the thumbnail in the DocumentPreviewCache associated with the document with 'uuid'. This method should be used together with createBitmapWithID. 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 GetBitmapWithID(
	string uuid,
	int min_x_size,
	int min_y_size,
	Object customData
)

Parameters

uuid
Type: SystemString
The uuid of the PDFDoc added by createBitmapWithID
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