XlsxExportOptionsEx.SuppressMaxRowsWarning Property

Gets or sets whether to suppress the exception that is raised on attempting to export more than 1,048,576 rows to an XLSX file. Only available in data-aware export mode.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.1.Core.dll

Declaration

[DefaultValue(false)]
public bool SuppressMaxRowsWarning { get; set; }
<DefaultValue(False)>
Public Property SuppressMaxRowsWarning As Boolean

Property Value

Type Default Description
Boolean

false

true, to prevent the exception from raising; otherwise, false.

Remarks

The MS Excel data format imposes limitations on the total number of rows and columns in a worksheet. See the following topic to learn the exact limits:MS Excel specifications and limits.

If the SuppressMaxRowsWarning property is false, an ArgumentOutOfRangeException exception is raised when you export the number of rows that exceeds the predefined limit.

If the SuppressMaxRowsWarning property is true, no exception is raised. However, extra rows which exceed the predefined total row limit are not exported.

See Also