Skip to main content

XlsExportOptions(TextExportMode, Boolean, Boolean, Boolean, Boolean, WorkbookColorPaletteCompliance) Constructor

Initializes a new instance of the XlsExportOptions class with the specified settings.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public XlsExportOptions(
    TextExportMode textExportMode,
    bool showGridLines,
    bool exportHyperlinks,
    bool suppress256ColumnsWarning,
    bool suppress65536RowsWarning,
    WorkbookColorPaletteCompliance workbookColorPaletteCompliance
)

Parameters

Name Type Description
textExportMode TextExportMode

A TextExportMode enumeration value. This value is assigned to the XlExportOptionsBase.TextExportMode property.

showGridLines Boolean

true to display the grid lines; otherwise false. This value is assigned to the XlExportOptionsBase.ShowGridLines property.

exportHyperlinks Boolean

true to export hyperlinks; otherwise false. This value is assigned to the XlExportOptionsBase.ExportHyperlinks property.

suppress256ColumnsWarning Boolean

true to allow more than 256 columns without warning; otherwise, false. This value is assigned to the XlsExportOptions.Suppress256ColumnsWarning property.

suppress65536RowsWarning Boolean

true to allow more than 65536 rows without warning; otherwise, false. This value is assigned to the XlsExportOptions.Suppress65536RowsWarning property.

workbookColorPaletteCompliance WorkbookColorPaletteCompliance

A WorkbookColorPaletteCompliance enumeration value. This value is assigned to the XlsExportOptions.WorkbookColorPaletteCompliance property.

See Also