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
isNull()Checks whether the implementation object is null.

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;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;