SplitPartInfo

SplitPartInfo class

Represents the information of one input/output for multiple inputs/outputs, such as current page to be rendered when converting spreadsheet to image.

class SplitPartInfo;

Properties

PropertyTypeDescription
partIndexnumberReadonly. Index of current part in sequence(0 based). -1 means there are no multiple parts so the result is single.
sheetIndexnumberReadonly. Index of the sheet where current part is in. -1 denotes there is only one sheet.
sheetNamestringReadonly. Name of the sheet where current part is in.

partIndex

Readonly. Index of current part in sequence(0 based). -1 means there are no multiple parts so the result is single.

partIndex : number;

Remarks

If multiple sheets need to be processed and every sheet is processed(split) separately, the part index always starts from 0 for every sheet. For example, when converting workbook to images, it represents the output page index of currently processed sheet. And -1 denotes there is only one page for current sheet.

sheetIndex

Readonly. Index of the sheet where current part is in. -1 denotes there is only one sheet.

sheetIndex : number;

sheetName

Readonly. Name of the sheet where current part is in.

sheetName : string;

Remarks

May be null for some situations, such as when rendering the whole workbook to tiff image.