Skip to main content

XlPageSetup.ErrorsPrintMode Property

Gets or sets how errors contained in worksheet cells are printed.

Namespace: DevExpress.Export.Xl

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

NuGet Package: DevExpress.Printing.Core

Declaration

public XlErrorsPrintMode ErrorsPrintMode { get; set; }

Property Value

Type Description
XlErrorsPrintMode

One of the XlErrorsPrintMode enumeration values.

Available values:

Name Description
Displayed

Cell errors are printed as they are displayed on a worksheet.

Blank

Cell errors are not printed.

Dash

Cell errors are printed as double dashes (–).

NA

Cell errors are printed as #N/A.

Remarks

To specify page options for a worksheet, set the IXlSheet.PageSetup property to an instance of the XlPageSetup class that controls the page orientation, paper size, scaling options, printing DPI and other settings. For more information on how to adjust page formatting options, refer to the How to: Specify Print Settings article.

See Also