ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Structures | CFineImageFile

Read Method of CFineImageFile Structure

This method loads an image from a file into memory.

C Syntax
int (*Read)( 
   void* file,  
   BYTE* buffer,  
   int   size
);

Parameters

file
A pointer to the CFineImageFile object.
buffer
A pointer to the area of memory which receives the data from the file.
size
The size of the data that will be stored in the buffer parameter.

Return value

It returns the number of the loaded bytes. The return value can be less than the size parameter. If the value is less or equal to zero, no data have been loaded.

See also

CFineImageFile