Chinese Simplified (简体中文)

IsPdfPortfolioFromStream Method of the Engine Object

This method finds out if an input PDF file added from the stream is a PDF Portfolio. Each PDF Portfolio file may contain several files of various types (textual documents, presentations, drawings, etc.).

Syntax

HRESULT IsPdfPortfolioFromStream(
  IReadStream*            Stream,
  IImagePasswordCallback* Callback,
  VARIANT_BOOL*           Result
);
    

Parameters

Stream
[in] Refers to the interface of the user-implemented object of the type IReadStream containing a PDF file to check if it is a PDF Portfolio or not.
Callback
[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 PDF files. This parameter is optional and may be 0 in which case password-protected files cannot be checked.
Result
[out, retval] This parameter returns TRUE if a PDF file is a PDF Portfolio and FALSE if it is not.

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:10 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.