evaluated_page_count property
evaluated_page_count property
Evaluate the total page count of this workbook
Example
The following code shows the fastest way to get page count of a workbook.
from aspose.cells import Workbook
from aspose.cells.rendering import ImageOrPrintOptions, WorkbookPrintingPreview
workbook = Workbook("Book1.xlsx")
workbookPrintingPreview = WorkbookPrintingPreview(workbook, ImageOrPrintOptions())
# fastest way to get page count especailly when there are massive data in workbook.
print(workbookPrintingPreview.evaluated_page_count)
Definition:
@property
def evaluated_page_count(self):
...
See Also
- module
aspose.cells.rendering
- class
WorkbookPrintingPreview