API Reference
Class
TableBuilder
Fluent helpers for adding Excel tables over a range.
Inheritance
- Object
- TableBuilder
Methods
public TableBuilder Add(String range, Boolean hasHeader = true, String name = "", TableStyle style = TableStyleLight9, Boolean includeAutoFilter = true) #Returns:
TableBuilderAdds a table over the specified A1 range with optional header, name, style and AutoFilter.
Parameters
- range System.String
- hasHeader System.Boolean = true
- name System.String = ""
- style OfficeIMO.Excel.TableStyle = TableStyleLight9
- includeAutoFilter System.Boolean = true
public TableBuilder HasHeader(Boolean hasHeader = true) #Returns:
TableBuilderSpecifies whether the first row of the range is a header row.
Parameters
- hasHeader System.Boolean = true
public TableBuilder Style(TableStyle style) #Returns:
TableBuilderSets the table style to use when adding tables.
Parameters
- style OfficeIMO.Excel.TableStyle
public TableBuilder WithAutoFilter(Boolean includeAutoFilter = true) #Returns:
TableBuilderSpecifies whether to enable AutoFilter for the table.
Parameters
- includeAutoFilter System.Boolean = true
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object