Specifies the maximum number of pages to be scanned after invoking the Scan method.
Public Property MaxPages As Long
This property is primarily of use with scanners that are equipped with Automatic Document Feeders (ADF) since it allows the application to specify how many pages should be scanned after invoking the Scan method. If specifying a value greater than one then the AutoFeed Capability should also be set to TRUE.
You can supply the value of -1 to indicate to the device to scan all the pages in the ADF.