DASaveCopyToStream
Document management, Direct access functionality
Description
Similar to DASaveToStream but the input file is not closed. The output header uses the effective PDF version of the DA document, including any version raise caused by Direct Access edits.
Syntax
Delphi
function TPDFlib.DASaveCopyToStream(FileHandle: Integer; OutStream: TStream): Integer;ActiveX
Function PDFlib::DASaveCopyToStream(FileHandle As Long, OutStream As Long) As LongParameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
|---|---|
| OutStream | The Delphi TStream object to save the file into |
Return values
| 0 | The file could not be saved to the stream |
|---|---|
| 1 | The file was successfully saved to the stream |