Skip to main content

DataTableExportOptions.OptimizationType Property

Gets or sets the type of optimization used for cell value conversion.

Namespace: DevExpress.Spreadsheet.Export

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public DataTableExporterOptimizationType OptimizationType { get; set; }

Property Value

Type Description
DataTableExporterOptimizationType

A DataTableExporterOptimizationType enumeration member.

Available values:

Name Description
Speed

Tries to allocate a block of memory sufficient to hold all data for export.

Memory

Allocates a block of memory required to export a single cell.

Property Paths

You can access this nested property as listed below:

Object Type Path to OptimizationType
DataTableExporter
.Options .OptimizationType

Remarks

Use the OptimizationType property when performance or memory usage is critical. It allows you to improve the application usability in certain situations.

See Also