Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataTableExportOptions.OptimizationType Property

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

Namespace: DevExpress.Spreadsheet.Export

Assembly: DevExpress.Spreadsheet.v24.2.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