PowerPointTableFluent
OfficeIMO.PowerPoint
The fluent methods of PowerPointTable, 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
- PowerPointTableFluent
Methods
public static TSelf BandedColumns<TSelf>(TSelf powerPointTable, bool value = true) #Sets PowerPointTable.BandedColumns: Enables or disables banded columns styling (bandCol attribute) on the table.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTable.BandedColumns = value; powerPointTable.BandedColumns(value);public static TSelf BandedRows<TSelf>(TSelf powerPointTable, bool value = true) #Sets PowerPointTable.BandedRows: Enables or disables banded rows styling (bandRow attribute) on the table.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTable.BandedRows = value; powerPointTable.BandedRows(value);public static TSelf CellAlignment<TSelf>(TSelf powerPointTable, PowerPointTextAlignment? horizontal, PowerPointTextVerticalAlignment? vertical) #Sets cell alignment for all cells.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- horizontal OfficeIMO.PowerPoint.PowerPointTextAlignment?
- The value.
- vertical OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment?
- The value.
Returns
TSelf The same instance.public static TSelf CellAlignment<TSelf>(TSelf powerPointTable, PowerPointTextAlignment? horizontal, PowerPointTextVerticalAlignment? vertical, int startRow, int endRow, int startColumn, int endColumn) #Sets cell alignment for a range of cells.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- horizontal OfficeIMO.PowerPoint.PowerPointTextAlignment?
- The value.
- vertical OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment?
- The value.
- startRow int
- The value.
- endRow int
- The value.
- startColumn int
- The value.
- endColumn int
- The value.
Returns
TSelf The same instance.public static TSelf CellBorders<TSelf>(TSelf powerPointTable, PowerPointTableCellBorders borders, OfficeColor color, OfficeLength? width = null, PowerPointLineDashStyle? dash = null) #Applies borders to all cells, retaining the existing width or dash when omitted.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- borders OfficeIMO.PowerPoint.PowerPointTableCellBorders
- The value.
- color OfficeIMO.OfficeColor
- The value.
- width OfficeIMO.OfficeLength? = null
- The value.
- dash OfficeIMO.PowerPoint.PowerPointLineDashStyle? = null
- The value.
Returns
TSelf The same instance.public static TSelf CellPadding<TSelf>(TSelf powerPointTable, OfficeLength? left, OfficeLength? top, OfficeLength? right, OfficeLength? bottom) #Sets cell padding for all cells.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- left OfficeIMO.OfficeLength?
- The value.
- top OfficeIMO.OfficeLength?
- The value.
- right OfficeIMO.OfficeLength?
- The value.
- bottom OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.public static TSelf CellPadding<TSelf>(TSelf powerPointTable, OfficeLength? left, OfficeLength? top, OfficeLength? right, OfficeLength? bottom, int startRow, int endRow, int startColumn, int endColumn) #Sets cell padding for a range of cells.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- left OfficeIMO.OfficeLength?
- The value.
- top OfficeIMO.OfficeLength?
- The value.
- right OfficeIMO.OfficeLength?
- The value.
- bottom OfficeIMO.OfficeLength?
- The value.
- startRow int
- The value.
- endRow int
- The value.
- startColumn int
- The value.
- endColumn int
- The value.
Returns
TSelf The same instance.public static TSelf ColumnWidthsByRatio<TSelf>(TSelf powerPointTable, params double[] ratios) #Sets column widths proportionally using ratios.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- ratios double[]
- The value.
Returns
TSelf The same instance.public static TSelf ColumnWidthsEvenly<TSelf>(TSelf powerPointTable) #Sets column widths evenly across the table width.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
Returns
TSelf The same instance.public static TSelf ColumnWidths<TSelf>(TSelf powerPointTable, params OfficeLength[] widths) #Sets physical sizes for the first rows or columns supplied.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- widths OfficeIMO.OfficeLength[]
- The value.
Returns
TSelf The same instance.public static TSelf FirstColumn<TSelf>(TSelf powerPointTable, bool value = true) #Sets PowerPointTable.FirstColumn: Enables or disables first column styling on the table.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTable.FirstColumn = value; powerPointTable.FirstColumn(value);public static TSelf FirstRow<TSelf>(TSelf powerPointTable, bool value = true) #Sets PowerPointTable.FirstRow: Enables or disables first row styling on the table.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTable.FirstRow = value; powerPointTable.FirstRow(value);public static TSelf HeaderRow<TSelf>(TSelf powerPointTable, bool value = true) #Sets PowerPointTable.HeaderRow: Enables or disables header row styling (firstRow attribute) on the table.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTable.HeaderRow = value; powerPointTable.HeaderRow(value);public static TSelf LastColumn<TSelf>(TSelf powerPointTable, bool value = true) #Sets PowerPointTable.LastColumn: Enables or disables last column styling on the table.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTable.LastColumn = value; powerPointTable.LastColumn(value);public static TSelf LastRow<TSelf>(TSelf powerPointTable, bool value = true) #Sets PowerPointTable.LastRow: Enables or disables last row styling on the table.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTable.LastRow = value; powerPointTable.LastRow(value);public static TSelf RowHeightsByRatio<TSelf>(TSelf powerPointTable, params double[] ratios) #Sets row heights proportionally using ratios.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- ratios double[]
- The value.
Returns
TSelf The same instance.public static TSelf RowHeightsEvenly<TSelf>(TSelf powerPointTable) #Sets row heights evenly across the table height.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
Returns
TSelf The same instance.public static TSelf RowHeights<TSelf>(TSelf powerPointTable, params OfficeLength[] heights) #Sets physical sizes for the first rows or columns supplied.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- heights OfficeIMO.OfficeLength[]
- The value.
Returns
TSelf The same instance.public static TSelf StyleId<TSelf>(TSelf powerPointTable, string? value) #Sets PowerPointTable.StyleId: Gets or sets the table style ID GUID.
Type Parameters
- TSelf
Parameters
- powerPointTable TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointTable.StyleId = value; powerPointTable.StyleId(value);