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.
Remarks
This method does not work if the Engine object is loaded as an out-of-process server.
See also
7/3/2024 8:50:25 AM