GemBox.Spreadsheet

LimitEventArgs.WorksheetCount Property

Gets the number of worksheets used.

public int WorksheetCount {get;}

Remarks

For CSV files, this is always 1 (as only ActiveWorksheet is used).

When writing XLS files, warning worksheet is not counted.

See Also

LimitEventArgs Class | GemBox.Spreadsheet Namespace