PDF4Java Reference Documentation
com.o2sol.pdf4java.document Package / PDFDocument Class / save Method / save(String) Method
File where the PDF document is saved.
Collapse All Expand All
In This Topic

save(String) Method
In This Topic
Saves the PDF document to a file.
Syntax

    public void save(
       java.lang.String fileName
    )

#### Parameters

fileName
  File where the PDF document is saved.

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.