Search

Split PDF to Pages

Last Updated: Feb 14, 2022

Articles

Use this function to split PDF documents into the number of pages specified.

Syntax

Split PDF to Pages (input_file_path, page_per_pdf)

Parameters

Input Parameter Name Description
input_file_path File path of the PDF file
page_per_pdf Number of pages each PDF needs to have

Returns

Return Value Description
Path Path of the output PDF

Sample

Split PDF to Pages (C:\User\Invoice.pdf, 2)

  • If Invoice has 4 pages, it is split into 2 PDFs Invoice-1 and Invoice-2 of 2 pages each.
  • If Invoice has 5 pages, it is split into 3 PDFs Invoice-1 and Invoice-2 of 2 pages each, and Invoice-3 with 1 page.

The path and the name of the output files are automatically assigned by the function.

To view all the Document functions, click here.

Did you find what you were looking for?