Namespace: Spire.Xls.Core.Spreadsheet
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 11.6.0.0 (11.6.0.5020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Subtotal(
	IXLSRange range,
	int groupByIndex,
	int[] totalFields,
	SubtotalTypes subtotalType
)
Public Sub Subtotal ( 
	range As IXLSRange,
	groupByIndex As Integer,
	totalFields As Integer(),
	subtotalType As SubtotalTypes
)
public:
void Subtotal(
	IXLSRange^ range, 
	int groupByIndex, 
	array<int>^ totalFields, 
	SubtotalTypes subtotalType
)
member Subtotal : 
        range : IXLSRange * 
        groupByIndex : int * 
        totalFields : int[] * 
        subtotalType : SubtotalTypes -> unit 

Parameters

range
IXLSRange
groupByIndex
Int32
totalFields
array<Int32>[]()[][]
subtotalType
SubtotalTypes

See Also