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

[Visual Basic] Public WriteOnly Property PageCount As Integer
[C#] public int PageCount {set;}

Property Value

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

Default value is -1.

Explanation

The PageCount property sets the number of images to be scanned. This property is enabled when the UserInterface property is Suppress. 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, pleaes refer to the Execute method to be the same as the number of elements in the array. When the Mode property is ADFBothSide, 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 UserInterface property is NOT Suppress or when using the document plate to scan. For Panasonic scanners, when the PixelType property is either GrayAndBW or RGBAndBW, even though this property value is set to 1 or more, the scan will occur as if the this property value is 0 or less.

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.

See Also

Scan Members | Newtone.ImageKit.Wpf.ImageKit

The ImageKit WPF is created by Newtone Corporation