ExcelTableOptionsFluent
OfficeIMO.Excel
The fluent methods of ExcelTableOptions, 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
- ExcelTableOptionsFluent
Methods
public static ExcelTableOptions Alignment(ExcelTableOptions excelTableOptions, OfficeAlignment? item) #Adds an item to OfficeTableOptions.Alignments.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- item OfficeIMO.OfficeAlignment?
- The item.
public static ExcelTableOptions Alignments(ExcelTableOptions excelTableOptions, IEnumerable<OfficeAlignment?> items) #Adds items to OfficeTableOptions.Alignments.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeAlignment?>
- The items, in order.
public static ExcelTableOptions AutoFit(ExcelTableOptions excelTableOptions, bool value = true) #Sets ExcelTableOptions.AutoFit: Gets or sets whether eligible table columns are automatically fitted. Defaults to true.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { AutoFit = value }; excelTableOptions.AutoFit(value);public static ExcelTableOptions CancellationToken(ExcelTableOptions excelTableOptions, CancellationToken value) #Sets ExcelTableOptions.CancellationToken: Gets or sets cancellation for DataTable insertion.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value System.Threading.CancellationToken
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { CancellationToken = value }; excelTableOptions.CancellationToken(value);public static ExcelTableOptions Caption(ExcelTableOptions excelTableOptions, string? value) #Sets OfficeTableOptions.Caption.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { Caption = value }; excelTableOptions.Caption(value);public static ExcelTableOptions Configure(ExcelTableOptions excelTableOptions, Action<ExcelTableOptions> configure) #Assigns callbacks and related configuration without invoking delegate-valued properties.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- configure System.Action<OfficeIMO.Excel.ExcelTableOptions>
- Assignments applied in order.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { HeaderTransform = value }; excelTableOptions.Configure(configured => configured.HeaderTransform = value);public static ExcelTableOptions Exclude(ExcelTableOptions excelTableOptions, string item) #Adds an item to OfficeTableOptions.Exclude.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- item string
- The item.
public static ExcelTableOptions Exclude(ExcelTableOptions excelTableOptions, IEnumerable<string> items) #Adds items to OfficeTableOptions.Exclude.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static ExcelTableOptions ExecutionMode(ExcelTableOptions excelTableOptions, ExcelExecutionMode? value) #Sets ExcelTableOptions.ExecutionMode: Gets or sets the execution policy for DataTable cell writes. Null uses the worksheet policy.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value OfficeIMO.Excel.ExcelExecutionMode?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { ExecutionMode = value }; excelTableOptions.ExecutionMode(value);public static ExcelTableOptions Include(ExcelTableOptions excelTableOptions, string item) #Adds an item to OfficeTableOptions.Include.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- item string
- The item.
public static ExcelTableOptions Include(ExcelTableOptions excelTableOptions, IEnumerable<string> items) #Adds items to OfficeTableOptions.Include.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static ExcelTableOptions IncludeAutoFilter(ExcelTableOptions excelTableOptions, bool value = true) #Sets ExcelTableOptions.IncludeAutoFilter: Gets or sets whether the table has filter buttons.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { IncludeAutoFilter = value }; excelTableOptions.IncludeAutoFilter(value);public static ExcelTableOptions IncludeHeaders(ExcelTableOptions excelTableOptions, bool value = true) #Sets OfficeTableOptions.IncludeHeaders.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { IncludeHeaders = value }; excelTableOptions.IncludeHeaders(value);public static ExcelTableOptions Name(ExcelTableOptions excelTableOptions, string? value) #Sets OfficeTableOptions.Name.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { Name = value }; excelTableOptions.Name(value);public static ExcelTableOptions Order(ExcelTableOptions excelTableOptions, string item) #Adds an item to OfficeTableOptions.Order.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- item string
- The item.
public static ExcelTableOptions Order(ExcelTableOptions excelTableOptions, IEnumerable<string> items) #Adds items to OfficeTableOptions.Order.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
public static ExcelTableOptions Projection(ExcelTableOptions excelTableOptions, ObjectFlattenerOptions? value) #Sets ExcelTableOptions.Projection: Gets or sets flattening, column selection, formatting and materialization limits.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value OfficeIMO.Data.ObjectFlattenerOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { Projection = value }; excelTableOptions.Projection(value);public static ExcelTableOptions Projection(ExcelTableOptions excelTableOptions, Action<ObjectFlattenerOptions> configure) #Configures ExcelTableOptions.Projection in place (creating it when not set): Gets or sets flattening, column selection, formatting and materialization limits.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- configure System.Action<OfficeIMO.Data.ObjectFlattenerOptions>
- Configures the value.
public static ExcelTableOptions Style(ExcelTableOptions excelTableOptions, ExcelTableStyle value) #Sets ExcelTableOptions.Style: Gets or sets the native table style.
Parameters
- excelTableOptions OfficeIMO.Excel.ExcelTableOptions
- The instance.
- value OfficeIMO.Excel.ExcelTableStyle
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Excel.ExcelTableOptions { Style = value }; excelTableOptions.Style(value);