DocumentPreviewCacheCreateBitmapWithID Method (String, StorageFile, 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,
StorageFile file,
int min_x_size,
int min_y_size,
Object customData
)
Public Shared Sub CreateBitmapWithID (
uuid As String,
file As StorageFile,
min_x_size As Integer,
min_y_size As Integer,
customData As Object
)
public:
static void CreateBitmapWithID(
[InAttribute] String^ uuid,
[InAttribute] StorageFile^ file,
[InAttribute] int min_x_size,
[InAttribute] int min_y_size,
[InAttribute] Object^ customData
)
pdftron.PDF.DocumentPreviewCache.CreateBitmapWithID = function(uuid, file, min_x_size, min_y_size, customData);
Parameters
- uuid
- Type: SystemString
The uuid of the PDFDoc
- file
- Type: StorageFile
StorageFile 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