
## DocumentPageRanges class

Describes the output range of the document in pages. The parameter value must conform to the following structure:<br/>            - PageRangeText: "PageRange" or "PageRange,PageRange"<br/>            - PageRange: "PageNumber" or "PageNumber-PageNumber"<br/>            - PageNumber: 1 to N, where N is the number of pages in the document.If PageNumber > N, then PageNumber = N.<br/>            Whitespace in the string should be ignored.<br/>            https://docs.microsoft.com/en-us/windows/win32/printdocs/documentpageranges

**Inheritance:** `DocumentPageRanges` → [`StringParameterInit`](/page/python-net/aspose.page.xps.xpsmetadata/stringparameterinit) → [`ParameterInit`](/page/python-net/aspose.page.xps.xpsmetadata/parameterinit) → [`PrintTicketElement`](/page/python-net/aspose.page.xps.xpsmetadata/printticketelement)

The DocumentPageRanges type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
| `DocumentPageRanges(value)` | Initializes a new instance of the DocumentPageRanges class |
## Properties
| Name | Description |
| :- | :- |
| `name` | Gets the element name. |
| `min_length` | For string values, defines the shortest allowed string. |
| `max_length` | For string values, defines the longest allowed string. |

### See Also

* module [`aspose.page.xps.xpsmetadata`](/page/python-net/aspose.page.xps.xpsmetadata/)
* package [`aspose.page`](/page/python-net/)

