ImageGear for .NET
AcquireToDoc Method
See Also  Send Feedback
ImageGear21.Twain Assembly > ImageGear.TWAIN Namespace > ImGearTWAIN Class : AcquireToDoc Method




pageCount
Count of pages to scan. -1 scans all available pages.

Glossary Item Box

Scan multiple pages from a scanner equipped with an Automatic Document Feeder (ADF). Pages are saved to an ImageGear.Core.ImGearDocument.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

pageCount
Count of pages to scan. -1 scans all available pages.

Return Value

An ImageGear.Core.ImGearDocument class containing the scanned images.

Exceptions

ExceptionDescription
ImageGear.Core.ImGearExceptionThrown if this method called while a connection with a data source is not open.

Remarks

Prior to calling this method:

  • Call OpenSource to select the desired Data Source.
  • Call SetCapability to set desired capability values.
  • Set UseUI to true if you want to obtain the capability settings from the end user.

See Also

©2013. Accusoft Corporation. All Rights Reserved.