SimpleOCR:SDK Functions AddImage

You are here:
< All Topics

int (SETOFIMG * set, IMG * image)

Add an image to a set of image. The new image will be added at the last position.

Return Value

If the function fails, a nonzero value is returned.



A pointer to a set of images of type SETOFIMG.


A pointer to the added image, of type IMG.


IMG *img; 
int nb; 

// Creates an image in img 

// Creates a set 
doc=<f CreateMultipleImg>(); 
if (doc==NULL) 
// error processing 

// Add the image 
if ((set,img)) 
// error processing 
Previous SimpleOCR:SDK Functions – ShrinkImg
Next Using the SimpleOCR ActiveX Control (VB)
Table of Contents
Contact Us for FREE Consultation on Your OCR Project
Go to Top