Saves the images of the specified indices in buffer to a MultiPage TIFF byte array.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public byte[] SaveAsMultiPageTIFFToBytes( IndexList aryIndex ) |
| Visual Basic |
|---|
Public Function SaveAsMultiPageTIFFToBytes ( _ aryIndex As IndexList _ ) As Byte() |
Parameters
- aryIndex
- Type: Dynamsoft.DotNet.TWAIN..::..IndexList
Specifies a list of index of image in buffer. The index is 0-based.
Return Value
A byte array where the image will be saved.
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.
Exceptions
| Exception | Condition |
|---|---|
| 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. |