---
title: "page_count property"
url: "https://reference.aspose.com/diagram/python-net/aspose.diagram.saving/xpssaveoptions/page_count/"
product: "Aspose.Diagram for Python via .NET API References"
---


## page_count property


Gets or sets the number of pages to render in XPS.
Default is MaxValue which means all pages of the diagram will be rendered.

### See Also
* module [aspose.diagram.saving](../../)
* class [XPSSaveOptions](/diagram/python-net/aspose.diagram.saving/xpssaveoptions)
