Saves several images in buffer as a multi-page TIFF file.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public bool SaveAsMultiPageTIFF(
	string strFileName,
	IndexList aryIndex
)
Visual Basic
Public Function SaveAsMultiPageTIFF ( _
	strFileName As String, _
	aryIndex As IndexList _
) As Boolean

Parameters

strFileName
Type: System..::..String
String strFileName:the name of the MultiPage TIFF file to be saved. It should be an absolute path.
aryIndex
Type: Dynamsoft.DotNet.TWAIN..::..IndexList
IndexList aryIndex:an array. It contains the indices of images that need to be saved.

Return Value

True indicates success. False indicates failure.

Remarks

If aryIndex contains any invalid index, error message will be written into the ErrorString property and no image will be saved. But if aryIndex contains repeated valid index, the repeated index will be filtered, only keep one index. If there's a TIFF file with the same file name on the local disk, the new images will be added into the existing TIFF file.

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also