Opening, closing, and saving PDF files

Learn how to open, close, and save PDF files.

Open a PDF file

Some PDF commands require a PDF instance to manipulate a PDF file content. Use the Open PDF File (pdfOpen) command to open a PDF file and assign it to an instance. Read this command's specification for examples on how to use it.

Close a PDF file

Close the PDF instance with the Close PDF (pdfClose) command. Read this command's specification for examples on how to use it.

Save a PDF file

After you manipulate a PDF file through an instance, you need to save it to reflect the changes that are done while your script handle that file.

Use the Save option in the Close PDF (pdfClose) command. Set it to On to save the changes made one the PDF file. It requires that you enter a PDF file path to save the new PDF file.