Click or drag to resize

DocumentPreviewCacheCreateBitmapWithID Method (String, IRandomAccessStream, Int32, Int32, Object)

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

Parameters

uuid
Type: SystemString
The uuid of the PDFDoc
stream
Type: IRandomAccessStream
IRandomAccessStream for the PDFDoc
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