evaluated_page_count 属性
evaluated_page_count 属性
评估此工作簿的总页数
例子
以下代码显示了获取工作簿页数的最快方法。
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)
定义:
@property
def evaluated_page_count(self):
...