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.


Visual Basic .NET

Sub AddImage(Path As String)


  BSTR 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.


  • 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.


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

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.