ExcelFileLimitNear Event

Note: This API is now obsolete.

Occurs when the size of XLS / CSV file in reading / writing is near GemBox.Spreadsheet free limit.

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version:
[ObsoleteAttribute("This event is not raised anymore. This event is obsolete and will be removed in a future version. For more info, see http://www.gemboxsoftware.com/spreadsheet/help/html/Obsolete_Members.htm#ExcelFileLimitNear.")]
public event LimitEventHandler LimitNear


Type: GemBox.SpreadsheetLimitEventHandler

This event is fired when 80% of maximum row count per worksheet is reached (150 * 0.8 = 120 rows) or when 5 worksheets are used.

This event is not fired if LimitReached event is fired.

You can use this event to detect when your application is close to GemBox.Spreadsheet free limit. For example, you can write number of used rows to a log file or send a notification e-mail.

See Also