new WorkbookPrintingPreview(workbook, options)

The construct of WorkbookPrintingPreview

Parameters

Name Type Optional Description

workbook

 

 

Indicate which workbook to be printed.

options

 

 

ImageOrPrintOptions contains some property of output

Method

getEvaluatedPageCount()

Evaluate the total page count of this workbook