XlExportOptionsBase(TextExportMode, Boolean, Boolean, Boolean, DefaultBoolean) Constructor

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

Namespace: DevExpress.XtraPrinting

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

Declaration

public XlExportOptionsBase(
    TextExportMode textExportMode,
    bool showGridLines,
    bool exportHyperlinks,
    bool fitToPrintedPageWidth,
    DefaultBoolean rightToLeftDocument
)
Public Sub New(
    textExportMode As TextExportMode,
    showGridLines As Boolean,
    exportHyperlinks As Boolean,
    fitToPrintedPageWidth As Boolean,
    rightToLeftDocument As DefaultBoolean
)

Parameters

Name Type Description
textExportMode TextExportMode

A TextExportMode object, which specifies a format in which data values should be saved. This value is assigned to the XlExportOptionsBase.TextExportMode property.

showGridLines Boolean

true, to show the grid lines in the resulting XLS file; 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.

fitToPrintedPageWidth Boolean

true to fit the output document to the page width when printing. This value is assigned to the XlExportOptionsBase.FitToPrintedPageWidth property.

rightToLeftDocument DefaultBoolean

A value that specifies whether to align the output document layout to support locales using right-to-left fonts. This value is assigned to the XlExportOptionsBase.RightToLeftDocument property.

See Also