SetMaxImageFiles

Limits the number of files the Scan action copies.

Syntax

bool SetMaxImageFiles (StrParam)

Parameters

An optional string value specifying the maximum number of files.

If you do not enter a value, the task will scan all images in the target folder (up to 32767 files) and this action returns True.

Returns

False if the parameter is not Numeric. Otherwise, True.

Level

Any level but usually the batch level.

Details

Limits the number of Image files the vScan task will add to a single batch. This action must be placed before the Scan action for the setting to take effect during Scan.
Example
SetMaxImageFiles("50")
Scan() 
Sets the maximum number of files to add to a batch at fifty.
Remember: A vScan task is a Batch Creation task: it sets up a new batch each time it scans Image files.