API Reference
Class
ExcelFluentWorkbook
Fluent API wrapper over ExcelDocument for quick workbook generation.
Inheritance
- Object
- ExcelFluentWorkbook
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ExcelDocument.AsFluent
- Method ExcelFluentWorkbook.Info
- Method ExcelFluentWorkbook.Sheet
- Method ExcelFluentWorkbook.Sheet
Constructors
public ExcelFluentWorkbook(ExcelDocument workbook) #Creates a fluent workbook wrapper. Defaults execution policy to Sequential for predictability.
Parameters
- workbook OfficeIMO.Excel.ExcelDocument
Methods
public ExcelDocument End() #Returns:
ExcelDocumentFinishes the fluent pipeline and returns the underlying ExcelDocument.
public ExcelFluentWorkbook Info(Action<InfoBuilder> action) #Returns:
ExcelFluentWorkbookSets workbook properties in a fluent style.
Parameters
- action System.Action{OfficeIMO.Excel.Fluent.InfoBuilder}
Sheet 2 overloads
public ExcelFluentWorkbook Sheet(String name, Action<SheetBuilder> action) #Returns:
ExcelFluentWorkbookAdds a new sheet and executes the builder action to populate it.
Parameters
- name System.String
- action System.Action{OfficeIMO.Excel.Fluent.SheetBuilder}
public ExcelFluentWorkbook Sheet(Action<SheetBuilder> action) #Returns:
ExcelFluentWorkbookAdds a new sheet with default name and executes the builder action.
Parameters
- action System.Action{OfficeIMO.Excel.Fluent.SheetBuilder}