EndOutputStream

Document management

Description

Writes the selected document to the stream previously bound with BeginOutputToStream

The bound stream is cleared before writing starts, so a failed save or an aborted save never leaves the instance in an active output-stream state

Syntax

Delphi

Function TPDFlib.EndOutputStream: Integer;

Return values

0No stream was bound or the document could not be saved
1The document was saved to the bound stream successfully

See also

BeginOutputToStream, CancelOutputStream, OutputStreamActive, SaveToStream