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.v20.2.Core.dll

Declaration

public XlsExportOptions(
    TextExportMode textExportMode,
    bool showGridLines,
    bool exportHyperlinks,
    bool suppress256ColumnsWarning,
    bool suppress65536RowsWarning,
    WorkbookColorPaletteCompliance workbookColorPaletteCompliance
)
Public Sub New(
    textExportMode As TextExportMode,
    showGridLines As Boolean,
    exportHyperlinks As Boolean,
    suppress256ColumnsWarning As Boolean,
    suppress65536RowsWarning As Boolean,
    workbookColorPaletteCompliance As 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