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

[Visual Basic]   imagekitcontrolname.Scan.PageCount[ = Integer ]
[Visual C++]     imagekitcontrolname.GetScan().SetPageCount(short Val)
[VB.NET]   imagekitcontrolname.Scan.PageCount[ = Short ]
[C#.NET]   imagekitcontrolname.Scan.PageCount[ = short ]

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 2. 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 2 (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 2 (ikScanNONUI) or when using the document plate to scan.

When the PixelType property is set to 1001(ikScanPixelGrayAndBW) or 1002(ikScanPixelRGBAndBW), 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 1001(ikScanPixelGrayAndBW) or 1002(ikScanPixelRGBAndBW), 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 ImageKit10 ActiveX is a product created by Newtone Corporation