How Can We Help?

SimpleOCR:SDK Functions – InsertImage

You are here:
< All Topics

int InsertImage(SETOFIMG * set, int index, IMG * image)

Inserts an image in a set of image at a given position.

Return Value

If the function fails, a nonzero value is returned.

Parameters

set

A pointer to a set of images of type SETOFIMG.

index

Position of the inserted image, counted from 0.

image

Inserted image.

Example

SETOFIMG *doc; 
IMG *img; 
int nb; 

// Creates an image in img 
... 

// Creates a set 
... 

// Insert the image at the first position 
if (InsertImage(set,0,img)) 
{
// error processing 
...
}
Contact Us for FREE Consultation on Your OCR Project
=
Table of Contents

Title

Go to Top