Table of Contents

VirtualCellReadEventArgs Class

Arguments passed in the event.

Syntax

Namespace: FlexCel.Core

public class VirtualCellReadEventArgs: EventArgs

Constructors

Name Description
VirtualCellRead​Event​Args Creates a new instance.

Properties

Name Description
Cell Value and position of a cell.
NextSheet Sheet where the next cell will be. By default, this value is set automatically, but you can change to other value to skip some sheets, or set it to null or empty to end reading the file.

If for example you are at sheet "Sheet1" and set NextSheet to be "Sheet5", then the next time this event is called it will be with the first cell of Sheet5. To stop reading this sheet and move to the next, set "NextSheet" to be SheetNames[Cell.Sheet]
SheetNames Array with all the sheet names in the file. You can use this array and Cell.Sheet to know the current and next sheet names.