Chinese Simplified (简体中文)

CreateFRDocumentFromImage Method of the Engine Object

This method opens image file and creates the FRDocument object.

Syntax

HRESULT CreateFRDocumentFromImage(
  BSTR               ImageFileName,
  IPrepareImageMode* PrepareMode,
  IFRDocument**      Result
);
    

Parameters

ImageFileName
[in] This variable contains a full path to the image file to open. For example "/Users/user/Pictures/MyPic.bmp".
PrepareMode
[in] This parameter refers to the PrepareImageMode object which specifies how an image will be preprocessed during opening.
Result
[out, retval] A pointer to IFRDocument* pointer variable that receives the interface pointer of the resulting FRDocument object. Must not be NULL.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

Engine

FRDocument

CreateFRDocument

03.07.2024 8:50:10

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.