SheetPrintingPreview

SheetPrintingPreview class

Worksheet printing preview.

class SheetPrintingPreview;

Constructors

NameDescription
constructor(Worksheet, ImageOrPrintOptions)The construct of SheetPrintingPreview

Methods

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

constructor(Worksheet, ImageOrPrintOptions)

The construct of SheetPrintingPreview

constructor(sheet: Worksheet, options: ImageOrPrintOptions);

Parameters:

ParameterTypeDescription
sheetWorksheetIndicate which spreadsheet to be printed.
optionsImageOrPrintOptionsImageOrPrintOptions contains some property of output

getEvaluatedPageCount()

Evaluate the total page count of this worksheet

getEvaluatedPageCount() : number;