Dynamsoft Home|Product Home

IfTiffMultiPage Property

Description

Return or sets whether the Source allows to save many images in one TIFF file. The default value is FALSE.

Data type

Boolean

Syntax

ObjectName. IfTiffMultiPage

Remarks

If this property is TRUE, the new image will be added to existing TIFF file.

Samples

Save each document in a separate TIFF file.

VB Sample:
Dim iDocumentCounter As Integer
iDocumentCounter = 0 'Set initialize value
Private Sub BeginScan()
    Twain.OpenSource
    Twain.IfShowUI = False
    Twain.IfDisableSourceAfterAcquire = True Twain.IfTiffMultiPage = False 'Do not save as multi-page TIFF

Twain.IfFeederEnabled = True
    Twain.XferCount = -1
    Twain.IfAutoFeed = True 'Auto feed
Twain.AcquireImage
End Sub
Private Sub Twain_OnPosttransfer()
iDocumentCounter = iDocumentCounter + 1
If Twain.SaveAsTIFF("c:\Image\" + Str(iDocumentCounter) + ".tif", 0) = False Then
    MsgBox Twain.ErrorString
End If
End Sub

Save acquired images as a Multi-Page TIFF file.