Chinese Simplified (简体中文)

GetNumberOfPagesInImageFile Method of the Engine Object

This method returns the number of pages in an image file.

Syntax

HRESULT GetNumberOfPagesInImageFile(
  BSTR                    ImageFilePath,
  IImagePasswordCallback* PasswordCallback,
  int*                    Result
);
    

Parameters

ImageFilePath
[in] This variable contains the full path to the image file.
PasswordCallback
[in] This variable refers to the interface of the user-implemented object of the type ImagePasswordCallback which is used to handle possible password requests for accessing images in PDF format. This parameter is optional and may be 0 in which case password-protected files cannot be processed.
Result
[out, retval] A pointer to int variable that receives the return value of this method.

Return values

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

See also

Engine

IImagePasswordCallback

7/3/2024 8:50:25 AM

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.