# OutputRange

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / OutputRange

# Type Alias: OutputRange

> **OutputRange** = `object`

Specifies which pages of the PDF document has to be exported or merged.
Note: all page numbers are 1-based.

## Properties

### fromPage?

> `optional` **fromPage**: `number`

The number of the first page (1-based) to include.

***

### inverted?

> `optional` **inverted**: `boolean`

Indicates if the range's iterator should go from the end of the range backwards.

***

### pageNumbers?

> `optional` **pageNumbers**: `number`[]

The array of page numbers (1-based) to include.

***

### pages?

> `optional` **pages**: `string`

The string specifying page numbers (1-based) and page intervals with dashes ('-'), separated by commas (',').
A dash at the start or at the end of interval implies infinity.

***

### toPage?

> `optional` **toPage**: `number`

The number of the last page (1-based) to include.
