Property Cells
Cells
Gets the sheet's cells one at a time, in the order the sheet stores them - by row and then by column in any file Excel wrote.
public IEnumerable<XlsxDocumentCell> Cells { get; }
Property Value
Remarks
Streamed from the sheet: nothing is held but the cell being read, so this is the way to read a large sheet once. Each enumeration reads the sheet again. Only cells the sheet stores are returned; there is no entry for an empty cell between two stored ones.
Exceptions
- InvalidDocumentException
Thrown while enumerating when the sheet's part is malformed.