Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

SaveSelectedImagesAsMultiPageTIFF Method

Description

Saves the selected images in buffer as a Multipage TIFF file.

Syntax

Boolean ObjectName. SaveSelectedImagesAsMultiPageTIFF(string strFileName)

Parameters

String strFileName: the name of the MultiPage TIFF file to be saved. It should be an absolute path on the local disk.

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

Multi-Page TIFF is a built-in feature of Dynamic Web TWAIN, no other DLLs are required.

If you would like to save images by showing the browser dialog box, you can set IfShowFileDialog to true.

See also

AllowMultiSelect property, SaveAsTIFF(), SaveAsJPEG(), SaveAsBMP(), SaveAsPNG(), FTPUpload(), FTPDownload(), HTTPUploadThroughPut(), HTTPUploadThroughPost(), HTTPDownload()

Sample

Javascript Sample:

<script language="javascript">

function btnSaveMultiTIFF_onclick() {
  frmScan.DynamicWebTwain1.SaveSelectedImagesAsMultiPageTIFF("G:/wwwroot/WebTWAIN/Images/ImageData.tif");
}

</script>
 












TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.