Property MaxCells
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
MaxCells
Gets or sets the most cells a fill may touch: the cells its blocks write, and for each block the cells of the sheet it is on, which that block reads and whose rows it moves. Each block's share is counted before the block changes anything; past the limit the fill is refused with ResourceLimitExceededException, and the blocks above it stay filled. Default DefaultMaxCells.
public long MaxCells { get; set; }
Property Value
Remarks
A template of many blocks costs its sheet once for each: the limit is what keeps a template that repeats one row in a thousand places from costing a thousand passes over a large sheet.