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,
	bool replace,
	bool addPageBreak,
	bool addsummaryBelowData
)
Public Sub Subtotal ( 
	range As IXLSRange,
	groupByIndex As Integer,
	totalFields As Integer(),
	subtotalType As SubtotalTypes,
	replace As Boolean,
	addPageBreak As Boolean,
	addsummaryBelowData As Boolean
)
public:
void Subtotal(
	IXLSRange^ range, 
	int groupByIndex, 
	array<int>^ totalFields, 
	SubtotalTypes subtotalType, 
	bool replace, 
	bool addPageBreak, 
	bool addsummaryBelowData
)
member Subtotal : 
        range : IXLSRange * 
        groupByIndex : int * 
        totalFields : int[] * 
        subtotalType : SubtotalTypes * 
        replace : bool * 
        addPageBreak : bool * 
        addsummaryBelowData : bool -> unit 

Parameters

range
IXLSRange
groupByIndex
Int32
totalFields
array<Int32>[]()[][]
subtotalType
SubtotalTypes
replace
Boolean
addPageBreak
Boolean
addsummaryBelowData
Boolean

See Also