Back to Devexpress

CalculationOptions.ThreadCount Property

officefileapi-devexpress-dot-spreadsheet-dot-calculationoptions-ae31ef97.md

latest1.9 KB
Original Source

CalculationOptions.ThreadCount Property

Gets or sets the number of calculation threads.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
int? ThreadCount { get; set; }
vb
Property ThreadCount As Integer?

Property Value

TypeDescription
Nullable<Int32>

The number of concurrent calculation processes.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ThreadCount
DocumentSettings

.Calculation .ThreadCount

|

Remarks

The ThreadCount property’s default value is null ( Nothing in Visual Basic). In this case, the Spreadsheet uses the Environment.ProcessorCount property to determine the optimal number of calculation threads based on the number of available logical processors. However, you can use the ThreadCount property to specify the number of calculation threads.

See Also

CalculationOptions Interface

CalculationOptions Members

DevExpress.Spreadsheet Namespace