This method can be used to create quickly a preview thumbnail for a certain page. It requires to be fed with the whole XML data, no matter what items have changed. It can be used if CanUseSimpleUpdate returns false and therefore UpdateSimple(String, Int32, Int32, PDFHandler..::.ThumbnailFileType, String) cannot be used.

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

Syntax

C#
public bool UpdateThumbnailOnly(
	string strDir,
	int nPage,
	int nThumbnailWidth,
	PDFHandler..::.ThumbnailFileType type,
	string strXML
)
Visual Basic (Declaration)
Public Function UpdateThumbnailOnly ( _
	strDir As String, _
	nPage As Integer, _
	nThumbnailWidth As Integer, _
	type As PDFHandler..::.ThumbnailFileType, _
	strXML As String _
) As Boolean
Visual C++
public:
bool UpdateThumbnailOnly(
	String^ strDir, 
	int nPage, 
	int nThumbnailWidth, 
	PDFHandler..::.ThumbnailFileType type, 
	String^ strXML
)

Parameters

strDir
Type: System..::.String
The directory, where the thumbnail should be created.
nPage
Type: System..::.Int32
The page number for creating the thumbnail from.
nThumbnailWidth
Type: System..::.Int32
The pixel width of the thumbnail.
type
Type: InfigoSDK..::.PDFHandler..::.ThumbnailFileType
The thumbnail file type.
strXML
Type: System..::.String
The input XML file. This must contain the data for the whole document.

Return Value

True on success.

See Also