This method can be used to create quickly a preview thumbnail for a certain page.
This method can only be used if CanUseSimpleUpdate returns true.
Otherwise, the results are not predicable.
Namespace:
InfigoSDKAssembly: InfigoSDK (in InfigoSDK.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public bool UpdateSimple( string strDir, int nPage, int nThumbnailWidth, PDFHandler..::.ThumbnailFileType type, string strXML ) |
| Visual Basic (Declaration) |
|---|
Public Function UpdateSimple ( _ strDir As String, _ nPage As Integer, _ nThumbnailWidth As Integer, _ type As PDFHandler..::.ThumbnailFileType, _ strXML As String _ ) As Boolean |
| Visual C++ |
|---|
public: bool UpdateSimple( 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 can contain only the modified parts required for updating.