DASaveToStream

Document management, Direct access functionality

Description

Saves the file to a TStream.

Syntax

Delphi

function TPDFlib.DASaveToStream(FileHandle: Integer; OutStream: TStream): Integer;

ActiveX

Function PDFlib::DASaveToStream(FileHandle As Long, OutStream As Long) As Long

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions The Delphi TStream object to save the file into
OutStream

Return values

0The file could not be saved to the stream
1The file was successfully saved to the stream