Search

Extract Pages

Last Updated: Mar 15, 2021

Articles

Use this function to extract the specified range of pages from the PDF and create an output PDF with the extracted pages.

Syntax

Extract Pages (path, from_page, to_page)

Parameters

Input Parameter Name Description
path Path of the PDF
from_page Page number to begin the page extraction
to_page Page number to begin end the page extraction

Returns

Return Value Description
Path Path of the output file

Sample

Extract Pages (C:\User\MutualFundStatement.pdf, 3, 6)

  • Extracts pages 3 to 6 of the PDF MutualFundStatement.pdf and creates an output PDF with the extracted pages.
    Returns the path where the output document is stored.

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

To view all the Document functions, click here.

Did you find what you were looking for?