Average module

class Average.Average

Bases: SpireObject

Represents an average calculation in an Excel worksheet.

This class provides properties and methods for configuring average calculations in Excel, such as determining the type of average to calculate (e.g., simple average, weighted average, etc.). It extends SpireObject and can be used in various Excel functions and conditional formatting scenarios.

property Type: AverageType

Gets or sets the type of average calculation to perform.

This property specifies which averaging method should be used when calculating the average value.

Returns:

An enumeration value representing the type of average calculation.

Return type:

AverageType