Skip to main content
This interface is implemented in FRE for Linux and Windows.
This is the interface for a file adapter. This interface and all its methods are implemented on the client-side. This interface should provides access to an image file and may implement handling password-protected PDF files and accessing only separate pages for multi-page files.

Methods

NameDescription
GetFileNameReturns the string which contains the path to the image file.
GetPagesToProcessSpecifies the indices of pages that should be processed in the file. NULL means process all pages.
GetPasswordReturns the password for the password-protected PDF file. This method is required for encrypted PDF files only.

Output parameter

This interface pointer is returned by the GetNextImageFile method of the IImageSource interface.

Samples

 
 {
  return null;
 }
 public string GetFileName()
 {
  return fileName;
 }
 public string GetPassword()
 {
  return null;
 }
 private string fileName;
}
The interface is used in the following code samples: BatchProcessing and Windows demo tools: BatchProcessingRecognition.

Remarks

In Linux, this interface does not work if the Engine object is loaded as an out-of-process server.

See also

IImageSource