DAOpenFromStream

Document management, Direct access functionality

Description

Opens a PDF stored inside a Delphi TStream object in direct access mode. Syntax

Parameters

InStreamThe TStream object containing the PDF document data
PasswordThe password to use when opening the document. This can be the owner or user password. If the user password is used certain functionality may be restricted depending on the permissions of the document.

Return values

0The file could not be opened from the stream
Non-zeroA FileHandle that can be used with the other Direct Access functions