Back to Devexpress

DataTableExportOptions.OptimizationType Property

officefileapi-devexpress-dot-spreadsheet-dot-export-dot-datatableexportoptions-544c2e34.md

latest2.1 KB
Original Source

DataTableExportOptions.OptimizationType Property

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

Namespace : DevExpress.Spreadsheet.Export

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public DataTableExporterOptimizationType OptimizationType { get; set; }
vb
Public Property OptimizationType As DataTableExporterOptimizationType

Property Value

TypeDescription
DataTableExporterOptimizationType

A DataTableExporterOptimizationType enumeration member.

|

Available values:

NameDescription
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 TypePath 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

DataTableExportOptions Class

DataTableExportOptions Members

DevExpress.Spreadsheet.Export Namespace