SheetPrintingPreview

SheetPrintingPreview class

Worksheet printing preview.

class SheetPrintingPreview;

Constructors

ConstructorDescription
constructor(Worksheet, ImageOrPrintOptions)The construct of SheetPrintingPreview

Properties

PropertyTypeDescription
evaluatedPageCountnumberReadonly. Evaluate the total page count of this worksheet

Methods

MethodDescription
getEvaluatedPageCount()@deprecated. Please use the ’evaluatedPageCount’ property instead. Evaluate the total page count of this worksheet
isNull()Checks whether the implementation object is null.

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

evaluatedPageCount

Readonly. Evaluate the total page count of this worksheet

evaluatedPageCount : number;

getEvaluatedPageCount()

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

getEvaluatedPageCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;