WorkbookPrintingPreview

WorkbookPrintingPreview class

Workbook printing preview.

class WorkbookPrintingPreview;

Constructors

NameDescription
constructor(Workbook, ImageOrPrintOptions)The construct of WorkbookPrintingPreview

Methods

MethodDescription
getEvaluatedPageCount()Evaluate the total page count of this workbook

constructor(Workbook, ImageOrPrintOptions)

The construct of WorkbookPrintingPreview

constructor(workbook: Workbook, options: ImageOrPrintOptions);

Parameters:

ParameterTypeDescription
workbookWorkbookIndicate which workbook to be printed.
optionsImageOrPrintOptionsImageOrPrintOptions contains some property of output

getEvaluatedPageCount()

Evaluate the total page count of this workbook

getEvaluatedPageCount() : number;