PDF4Java Reference Documentation
com.o2sol.pdf4java.document Package / PDFDocument Class / save Method / save(Stream) Method
Destination stream.
Collapse All Expand All
In This Topic

save(Stream) Method
In This Topic
Saves the PDF document to the specified stream.
Syntax

    public void save(
       Stream stream
    )

#### Parameters

stream
  Destination stream.

Exceptions

Exception | Description
--- | ---
com.o2sol.pdf4java.core.exceptions.PDFIOException | if a java.io.IOException appears during the save operation.

See Also

#### Reference

PDFDocument Class
PDFDocument Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.