PowerPointTableBuilder
OfficeIMO.PowerPoint
Collects the header and rows of a table, so the Table(t => ...) keyword can create the table at its final size and then configure each cell through its scope.
Inheritance
- object
- PowerPointTableBuilder
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Accepted by parameters 1
- Method PowerPointSlideScope.Table
Methods
public PowerPointTableBuilder Columns(int count) #Sets the minimum number of columns. The table is as wide as this or its widest row, whichever is more.
Parameters
- count int
- Minimum number of columns, at least one.
public PowerPointTableBuilder Configure(Action<PowerPointTableScope> configure) #Configures the created table after its cells are filled: style, position, column widths.
Parameters
- configure System.Action<OfficeIMO.PowerPoint.PowerPointTableScope>
- Edits the table through its scope.
public PowerPointTableBuilder Header(params string[] cells) #Sets the header row, which gets the table style's header formatting.
Parameters
- cells string[]
- Header texts, one per column.
public PowerPointTableBuilder Header(Action<PowerPointTableRowBuilder> row) #Sets the header row, with a scope for each header cell.
Parameters
- row System.Action<OfficeIMO.PowerPoint.PowerPointTableRowBuilder>
- Adds the header cells.
public PowerPointTableBuilder Row(params string[] cells) #Adds a row of plain texts.
Parameters
- cells string[]
- Cell texts, one per column.
public PowerPointTableBuilder Row(Action<PowerPointTableRowBuilder> row) #Adds a row whose cells are configured through their scopes.
Parameters
- row System.Action<OfficeIMO.PowerPoint.PowerPointTableRowBuilder>
- Adds the row's cells.