WorkbookPrintingPreview

WorkbookPrintingPreview class

Workbook printing preview.

class WorkbookPrintingPreview;

Constructors

ConstructorDescription
constructor(Workbook, ImageOrPrintOptions)The construct of WorkbookPrintingPreview

Properties

PropertyTypeDescription
evaluatedPageCountnumberReadonly. Evaluate the total page count of this workbook

Methods

MethodDescription
getEvaluatedPageCount()@deprecated. Please use the ’evaluatedPageCount’ property instead. 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

evaluatedPageCount

Readonly. Evaluate the total page count of this workbook

evaluatedPageCount : number;

getEvaluatedPageCount()

@deprecated. Please use the ’evaluatedPageCount’ property instead. Evaluate the total page count of this workbook

getEvaluatedPageCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;