This property sets the number of images to be scanned. This property is only enabled when using a custom-built user interface.

[C++Builder]   imagekitcontrolname->Scan->PageCount[ = short ]
[Delphi]   imagekitcontrolname.Scan.PageCount[ = Smallint ]

Property Value

Value Explanation
0 or less Scans all images (ADF, digital camera)
1 or more Scans the specified number of images

Explanation

The PageCount property sets the number of images to be scanned. This property is enabled when the UiMode property is vikScanNONUI. To scan all of the images in the ADF or digital camera, set this property to 0 or less. To specify the number of images to be scanned, set that number in the PageCount property. When retrieving images from a digital camera using an array, set the PageCount property to be the same as the number of elements in the array. When the ScanMode property is vikScanADF2 (ADF duplex), even if an odd number is set into the PageCount property, the number of pages scanned will be an even number (so as to scan both sides of the paper).

The PageCount property is disabled when the UiMode property is NOT vikScanNONUI or when using the document plate to scan.

When the PixelType property is set to vikScanPixelGrayAndBW or vikScanPixelRGBAndBW, for each page, two images are scanned so you should set the PageCount property to an even number. When using Panasonic scan drivers with the PixelType property is set to vikScanPixelGrayAndBW or vikScanPixelRGBAndBW, set the PageCount property to 0 or less (1 or more is ignored).

Note: Not all scan devices support this functionality. In some cases where the scan device does not support this function or does not correctly support this function, after the number of images specified by the PageCount property have been scanned, the scanning procedure is canceled. Depending on the type of equipment, paper could be left inside the scan device or ADF.

Setting this value

This value can be set at runtime.

Retrieving this value

This value cannot be retrieved.

 

The ImageKit9 VCL is a product created by Newtone Corporation