Extract PDF Pages Activity


The Extract PDF Pages activity extracts a specified range of pages from a PDF document and returns those pages as a new PDF document.


Given a multi-page PDF document a workflow might need to extract a subset of pages from the original. The Extract PDF Pages activity accepts either the file path to a PDF document or the byte content of a PDF document and a range of pages to extract. The activity produces a new PDF document containing only the subset of pages. The Write File Bytes activity could write the extracted PDF to disk, or the Create Download activity could generate a URL to the extracted PDF so that an end user could download it.


The Extract PDF Pages activity is a server activity. It can only be used in server workflows, which require on-premises Workflow.

Offline Support

This activity does not work when the device is offline.




Type: String | Number Array

The source PDF document to extract pages from. Either a file path or byte content are accepted.

Bytes are the raw binary values that represent content. A byte array is represented by a list of numbers between 0 and 255. Invalid byte content will cause an error.

One way byte content can be retrieved is by using the Read File Bytes activity.

Start Index


Type: Number

The zero-based index of the first page to extract. The default is zero.

Number Of Pages


Type: Number

The number of pages to extract. If not specified all pages after the start index are extracted.



Type: Number Array

The byte content of the PDF document containing the extracted pages.


Type: Number

The total number of extracted pages.


For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.11