
## PageRange(from, to) {#number_number}

Creates a new page range object.


```js
PageRange(from: number, to: number)
```

| Parameter | Type | Description |
| --- | --- | --- |
| from | number | The starting page zero-based index. |
| to | number | The ending page zero-based index.  If it exceeds the index of the last page in the document,  it is truncated to fit in the document on rendering. |

### Remarks

 means the last page in the document.


### See Also

* module [Aspose.Words.Saving](../../)
* class [PageRange](../)

