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.

Parameters

set

A pointer to a set of images of type SETOFIMG.

image

A pointer to the added image, of type IMG.

Example

SETOFIMG *doc; 
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

Share This Story, Choose Your Platform!

OCR Guide
Brands
Compare most popular choices in one cozy and extensive table
Languages
Applications
Go to Top