Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelSubtotalOptionsFluent

OfficeIMO.Excel.Reports

Namespace
OfficeIMO.Excel.Reports
Assembly
OfficeIMO.Excel
Modifiers
static

The fluent methods of ExcelSubtotalOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • ExcelSubtotalOptionsFluent

Methods

public static ExcelSubtotalOptions BlankGroupLabel(ExcelSubtotalOptions excelSubtotalOptions, string value) #

Sets ExcelSubtotalOptions.BlankGroupLabel: Label used when the group key cell is blank.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value string required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { BlankGroupLabel = value };    excelSubtotalOptions.BlankGroupLabel(value);
public static ExcelSubtotalOptions DataEndRow(ExcelSubtotalOptions excelSubtotalOptions, int value) #

Sets ExcelSubtotalOptions.DataEndRow: Last source data row.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value int required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { DataEndRow = value };    excelSubtotalOptions.DataEndRow(value);
public static ExcelSubtotalOptions DataStartRow(ExcelSubtotalOptions excelSubtotalOptions, int value) #

Sets ExcelSubtotalOptions.DataStartRow: First source data row.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value int required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { DataStartRow = value };    excelSubtotalOptions.DataStartRow(value);
public static ExcelSubtotalOptions Function(ExcelSubtotalOptions excelSubtotalOptions, ExcelSubtotalFunction value) #

Sets ExcelSubtotalOptions.Function: Function used by generated SUBTOTAL formulas.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value OfficeIMO.Excel.Reports.ExcelSubtotalFunction required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { Function = value };    excelSubtotalOptions.Function(value);
public static ExcelSubtotalOptions GrandTotalLabel(ExcelSubtotalOptions excelSubtotalOptions, string value) #

Sets ExcelSubtotalOptions.GrandTotalLabel: Label used for the optional grand total row.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value string required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { GrandTotalLabel = value };    excelSubtotalOptions.GrandTotalLabel(value);
public static ExcelSubtotalOptions GroupColumn(ExcelSubtotalOptions excelSubtotalOptions, int value) #

Sets ExcelSubtotalOptions.GroupColumn: Column containing group keys.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value int required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { GroupColumn = value };    excelSubtotalOptions.GroupColumn(value);
public static ExcelSubtotalOptions HeaderRow(ExcelSubtotalOptions excelSubtotalOptions, int value) #

Sets ExcelSubtotalOptions.HeaderRow: Header row that contains source labels.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value int required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { HeaderRow = value };    excelSubtotalOptions.HeaderRow(value);
public static ExcelSubtotalOptions HideDetailRows(ExcelSubtotalOptions excelSubtotalOptions, bool value = true) #

Sets ExcelSubtotalOptions.HideDetailRows: Hide detail rows when applying outline metadata.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { HideDetailRows = value };    excelSubtotalOptions.HideDetailRows(value);
public static ExcelSubtotalOptions IncludeGrandTotal(ExcelSubtotalOptions excelSubtotalOptions, bool value = true) #

Sets ExcelSubtotalOptions.IncludeGrandTotal: Whether to add a grand total row after group subtotal rows.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { IncludeGrandTotal = value };    excelSubtotalOptions.IncludeGrandTotal(value);
public static ExcelSubtotalOptions IncludeHeader(ExcelSubtotalOptions excelSubtotalOptions, bool value = true) #

Sets ExcelSubtotalOptions.IncludeHeader: Whether to write a header row for the summary block.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { IncludeHeader = value };    excelSubtotalOptions.IncludeHeader(value);
public static ExcelSubtotalOptions LabelSuffix(ExcelSubtotalOptions excelSubtotalOptions, string value) #

Sets ExcelSubtotalOptions.LabelSuffix: Text appended to each group key in the subtotal label cell.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value string required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { LabelSuffix = value };    excelSubtotalOptions.LabelSuffix(value);
public static ExcelSubtotalOptions OutlineDetailRows(ExcelSubtotalOptions excelSubtotalOptions, bool value = true) #

Sets ExcelSubtotalOptions.OutlineDetailRows: Whether to apply Excel row outline metadata to detail groups.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { OutlineDetailRows = value };    excelSubtotalOptions.OutlineDetailRows(value);
public static ExcelSubtotalOptions OutlineLevel(ExcelSubtotalOptions excelSubtotalOptions, byte value) #

Sets ExcelSubtotalOptions.OutlineLevel: Outline level used for grouped detail rows.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value byte required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { OutlineLevel = value };    excelSubtotalOptions.OutlineLevel(value);
public static ExcelSubtotalOptions SummaryStartRow(ExcelSubtotalOptions excelSubtotalOptions, int? value) #

Sets ExcelSubtotalOptions.SummaryStartRow: First row for the generated summary block. Defaults to two rows below ExcelSubtotalOptions.DataEndRow.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value int? required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { SummaryStartRow = value };    excelSubtotalOptions.SummaryStartRow(value);
public static ExcelSubtotalOptions ValueColumns(ExcelSubtotalOptions excelSubtotalOptions, IReadOnlyList<int> value) #

Sets ExcelSubtotalOptions.ValueColumns: Columns to aggregate into subtotal formulas.

Parameters

excelSubtotalOptions OfficeIMO.Excel.Reports.ExcelSubtotalOptions required
The instance.
value System.Collections.Generic.IReadOnlyList<int> required
The value.

Returns

ExcelSubtotalOptions The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Excel.Reports.ExcelSubtotalOptions { ValueColumns = value };    excelSubtotalOptions.ValueColumns(value);