Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelTableFluent

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Modifiers
static

The fluent methods of ExcelTable, 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
  • ExcelTableFluent

Methods

public static ExcelTable Sheet(ExcelTable excelTable, Action<ExcelSheet> configure) #

Configures ExcelTable.Sheet in place: Gets the worksheet that owns the table.

Parameters

excelTable OfficeIMO.Excel.ExcelTable required
The instance.
configure System.Action<OfficeIMO.Excel.ExcelSheet> required
Configures the value.

Returns

ExcelTable The same instance.
public static ExcelTable Style(ExcelTable excelTable, ExcelTableStyle style, bool? showFirstColumn = null, bool? showLastColumn = null, bool? showRowStripes = null, bool? showColumnStripes = null) #

Applies a built-in table style and optional style flags.

Parameters

excelTable OfficeIMO.Excel.ExcelTable required
The instance.
style OfficeIMO.Excel.ExcelTableStyle required
The value.
showFirstColumn bool? = null optional
The value.
showLastColumn bool? = null optional
The value.
showRowStripes bool? = null optional
The value.
showColumnStripes bool? = null optional
The value.

Returns

ExcelTable The same instance.
public static ExcelTable Totals(ExcelTable excelTable, IDictionary<string, ExcelTableTotalsFunction> byHeader) #

Applies totals row functions by header name.

Parameters

excelTable OfficeIMO.Excel.ExcelTable required
The instance.
byHeader System.Collections.Generic.IDictionary<string, OfficeIMO.Excel.ExcelTableTotalsFunction> required
The value.

Returns

ExcelTable The same instance.