Represents a merged region of cells, or cells which share a value and format and appear as one cell when viewed in Microsoft Excel.

WorksheetMergedCellsRegion

new WorksheetMergedCellsRegion(a: Worksheet, b: number, c: number, d: number, e: number): WorksheetMergedCellsRegion

Returns WorksheetMergedCellsRegion

$t: Type
comment: WorksheetCellComment
value: any

Gets the cell formatting for the merged cell region. The cell formatting for the merged cell region.

get cellFormat(): IWorksheetCellFormat

Returns IWorksheetCellFormat

Inherited from: WorksheetRegion

Gets the index of the first column in the region. The index of the first column in the region.

get firstColumn(): number

Returns number

Inherited from: WorksheetRegion

Gets the index of the first row in the region. The index of the first row in the region.

get firstRow(): number

Returns number

Gets the formula which has been applied to the merged region. The formula which has been applied to the merged region or null if no formula has been applied.

get formula(): Formula

Returns Formula

Inherited from: WorksheetRegion

Gets the index of the last column in the region. The index of the last column in the region.

get lastColumn(): number

Returns number

Inherited from: WorksheetRegion

Gets the index of the last row in the region. The index of the last row in the region.

get lastRow(): number

Returns number

Inherited from: WorksheetRegion

Gets the worksheet on which the region resides. The worksheet on which the region resides or null if the region has been shifted off the worksheet.

get worksheet(): Worksheet

Returns Worksheet

Inherited from: WorksheetRegion

Applies a array formula to the region of cells.

applyArrayFormula(value: string): void

Parameters

  • value: string

    The array formula to parse and apply to the region.

Returns void

Inherited from: WorksheetRegion

Applies a formula to the region of cells.

applyFormula(value: string): void

Parameters

  • value: string

    The formula to parse and apply to the region.

Returns void

Inherited from: WorksheetRegion

Determines whether the specified value equals this [[WorksheetRegion]].

equals(obj: any): boolean

Parameters

  • obj: any

    The value to test for equality.

Returns boolean

Inherited from: WorksheetRegion

Formats the region as a table and adds an associated [[WorksheetTable]] to the [[Worksheet.tables]] collection.

formatAsTable(tableHasHeaders: boolean): WorksheetTable

Parameters

  • tableHasHeaders: boolean

    A value which indicates whether the top row of the region contains the headers for the table.

Returns WorksheetTable

Inherited from: WorksheetRegion

Gets the bounds of the region in twips (1/20th of a point).

getBoundsInTwips(): IgRect

Returns IgRect

Inherited from: WorksheetRegion

getEnumerator(): IEnumerator$1<WorksheetCell>

Returns IEnumerator$1<WorksheetCell>

Inherited from: WorksheetRegion

Gtes the hash code for the [[WorksheetRegion]].

getHashCode(): number

Returns number

Gets the resolved cell formatting for this merged cell region.

getResolvedCellFormat(): IWorksheetCellFormat

Returns IWorksheetCellFormat

Inherited from: WorksheetRegion

Gets the string representation of the range of cells in the region.

toString(): string

Returns string