Create thumbnails from a range of pages. Only the first NumPages will be used for thumbnail generation (if there less than nNumPages there, no error is thrown). The thumbnails are named with the following scheme: {filename}{page}.{type}.

This means a two paged PDF file named "example.pdf" would generate the following BMP files: example1.bmpexample2.bmp

Namespace:  InfigoSDK
Assembly:  InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool CreateThumbnails(
	string strDirectory,
	int nNumPages,
	int nWidth,
	PDFHandler..::.ThumbnailFileType fileType
)
Visual Basic (Declaration)
Public Function CreateThumbnails ( _
	strDirectory As String, _
	nNumPages As Integer, _
	nWidth As Integer, _
	fileType As PDFHandler..::.ThumbnailFileType _
) As Boolean
Visual C++
public:
bool CreateThumbnails(
	String^ strDirectory, 
	int nNumPages, 
	int nWidth, 
	PDFHandler..::.ThumbnailFileType fileType
)

Parameters

strDirectory
Type: System..::.String
The directory, in which the thumbnails are stored.
nNumPages
Type: System..::.Int32
The number of pages to thumbnail.
nWidth
Type: System..::.Int32
The width of the thumbnails in pixels.
fileType
Type: InfigoSDK..::.PDFHandler..::.ThumbnailFileType
The thumbnail file type. See PDFHandler..::.ThumbnailFileType for possible values.

Return Value

Returns true on success.

See Also