AddImageFromStream Method of the Batch Object
This method allows you to add an image from stream to the batch. The method creates a new document in the batch for added image.
Note: When adding an image, the parameters of image preparation (ImageLoadingParams object) are used, which are identical to the parameters related to the batch type into which the image is added.
Syntax
Visual Basic .NET
Sub AddImageFromStream(readStream As IReadStream)
C++
HRESULT AddImageFromStream( IReadStream readStream );
Parameters
- readStream
- [in] Refers to the interface of the user-implemented object of the type IReadStream which contains the image file to be added to the batch.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
Remarks
- To add several images to the batch, you can use the AddImages method of the Batch object. This method allows you to set different parameters of image adding.
- This method does not open digital documents. Use the AddImage or AddImages method if you need to open digital documents.
See also
15.08.2023 13:19:30