Search

Split PDF To Pages using FID

Articles

Use this function to split PDF document whose FID is given as input, into the number of pages specified.

Syntax

Split PDF To Pages using FID (fid, page_per_pdf)

Parameters

Input Parameter Name Description
fid File Server ID 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 using FID (ab067542-d7cf-4881, 2)

  • If ab067542-d7cf-4881 has 4 pages, it is split into two PDFs of two pages each.
  • If ab067542-d7cf-4881 has 5 pages, it is split into three PDFs of two pages each, and an additional PDF with one page.
  • Returns the path where the output PDFs are stored.

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?