AddImage Method of the Batch Object
This method allows you to add an image from file to the batch. The method creates 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 AddImage(Path As String)
C++
HRESULT AddImage( BSTR Path );
Parameters
- Path
- [in] This variable contains the full path to the image file. For example, "D:\SampleImages\Sample.tif".
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.
- You may also use this method to open digital documents of supported formats.
Samples
C++ (COM) code
This method is used in the following code samples: Hello, Invoices Processing and Training.
See also
15.08.2023 13:19:30