# PowerPointTableFluent

The fluent methods of PowerPointTable, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Modifiers**

static

The fluent methods of [PowerPointTable](/api/powerpoint/officeimo-powerpoint-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

Filter members 

Show inherited

## Methods

`public static TSelf BandedColumns<TSelf>(TSelf powerPointTable, bool value = true)` [#](#method-bandedcolumns-boolean)

Sets [PowerPointTable.BandedColumns](/api/powerpoint/officeimo-powerpoint-powerpointtable/): Enables or disables banded columns styling (bandCol attribute) on the table.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
powerPointTable.BandedColumns = value;    powerPointTable.BandedColumns(value);
```

`public static TSelf BandedRows<TSelf>(TSelf powerPointTable, bool value = true)` [#](#method-bandedrows-boolean)

Sets [PowerPointTable.BandedRows](/api/powerpoint/officeimo-powerpoint-powerpointtable/): Enables or disables banded rows styling (bandRow attribute) on the table.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
powerPointTable.BandedRows = value;    powerPointTable.BandedRows(value);
```

CellAlignment``1 2 overloads

`public static TSelf CellAlignment<TSelf>(TSelf powerPointTable, PowerPointTextAlignment? horizontal, PowerPointTextVerticalAlignment? vertical)` [#](#method-cellalignment-nullable-officeimo-powerpoint-powerpointtextalignment-nullable-officeimo-powerpoint-powerpointtextverticalalignment)

Sets cell alignment for all cells.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**horizontal OfficeIMO.PowerPoint.PowerPointTextAlignment? required**

The value.

**vertical OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment? required**

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)` [#](#method-cellalignment-nullable-officeimo-powerpoint-powerpointtextalignment-nullable-officeimo-powerpoint-powerpointtextverticalalignment-int32-int32-int32-int32)

Sets cell alignment for a range of cells.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**horizontal OfficeIMO.PowerPoint.PowerPointTextAlignment? required**

The value.

**vertical OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment? required**

The value.

**startRow int required**

The value.

**endRow int required**

The value.

**startColumn int required**

The value.

**endColumn int required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf CellBorders<TSelf>(TSelf powerPointTable, PowerPointTableCellBorders borders, OfficeColor color, OfficeLength? width = null, PowerPointLineDashStyle? dash = null)` [#](#method-cellborders-officeimo-powerpoint-powerpointtablecellborders-officeimo-officecolor-nullable-officeimo-officelength-nullable-officeimo-powerpoint-powerpointlinedashstyle)

Applies borders to all cells, retaining the existing width or dash when omitted.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**borders OfficeIMO.PowerPoint.PowerPointTableCellBorders required**

The value.

**color OfficeIMO.OfficeColor required**

The value.

**width OfficeIMO.OfficeLength? = null optional**

The value.

**dash OfficeIMO.PowerPoint.PowerPointLineDashStyle? = null optional**

The value.

Returns

`TSelf` The same instance.

CellPadding``1 2 overloads

`public static TSelf CellPadding<TSelf>(TSelf powerPointTable, OfficeLength? left, OfficeLength? top, OfficeLength? right, OfficeLength? bottom)` [#](#method-cellpadding-nullable-officeimo-officelength-nullable-officeimo-officelength-nullable-officeimo-officelength-nullable-officeimo-officelength)

Sets cell padding for all cells.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**left OfficeIMO.OfficeLength? required**

The value.

**top OfficeIMO.OfficeLength? required**

The value.

**right OfficeIMO.OfficeLength? required**

The value.

**bottom OfficeIMO.OfficeLength? required**

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)` [#](#method-cellpadding-nullable-officeimo-officelength-nullable-officeimo-officelength-nullable-officeimo-officelength-nullable-officeimo-officelength-int32-int32-int32-int32)

Sets cell padding for a range of cells.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**left OfficeIMO.OfficeLength? required**

The value.

**top OfficeIMO.OfficeLength? required**

The value.

**right OfficeIMO.OfficeLength? required**

The value.

**bottom OfficeIMO.OfficeLength? required**

The value.

**startRow int required**

The value.

**endRow int required**

The value.

**startColumn int required**

The value.

**endColumn int required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf ColumnWidthsByRatio<TSelf>(TSelf powerPointTable, params double[] ratios)` [#](#method-columnwidthsbyratio-double)

Sets column widths proportionally using ratios.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**ratios double[] required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf ColumnWidthsEvenly<TSelf>(TSelf powerPointTable)` [#](#method-columnwidthsevenly)

Sets column widths evenly across the table width.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

Returns

`TSelf` The same instance.

`public static TSelf ColumnWidths<TSelf>(TSelf powerPointTable, params OfficeLength[] widths)` [#](#method-columnwidths-officeimo-officelength)

Sets physical sizes for the first rows or columns supplied.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**widths OfficeIMO.OfficeLength[] required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf FirstColumn<TSelf>(TSelf powerPointTable, bool value = true)` [#](#method-firstcolumn-boolean)

Sets [PowerPointTable.FirstColumn](/api/powerpoint/officeimo-powerpoint-powerpointtable/): Enables or disables first column styling on the table.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property           // C# fluent
powerPointTable.FirstColumn = value;    powerPointTable.FirstColumn(value);
```

`public static TSelf FirstRow<TSelf>(TSelf powerPointTable, bool value = true)` [#](#method-firstrow-boolean)

Sets [PowerPointTable.FirstRow](/api/powerpoint/officeimo-powerpoint-powerpointtable/): Enables or disables first row styling on the table.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
powerPointTable.FirstRow = value;    powerPointTable.FirstRow(value);
```

`public static TSelf HeaderRow<TSelf>(TSelf powerPointTable, bool value = true)` [#](#method-headerrow-boolean)

Sets [PowerPointTable.HeaderRow](/api/powerpoint/officeimo-powerpoint-powerpointtable/): Enables or disables header row styling (firstRow attribute) on the table.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
powerPointTable.HeaderRow = value;    powerPointTable.HeaderRow(value);
```

`public static TSelf LastColumn<TSelf>(TSelf powerPointTable, bool value = true)` [#](#method-lastcolumn-boolean)

Sets [PowerPointTable.LastColumn](/api/powerpoint/officeimo-powerpoint-powerpointtable/): Enables or disables last column styling on the table.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
powerPointTable.LastColumn = value;    powerPointTable.LastColumn(value);
```

`public static TSelf LastRow<TSelf>(TSelf powerPointTable, bool value = true)` [#](#method-lastrow-boolean)

Sets [PowerPointTable.LastRow](/api/powerpoint/officeimo-powerpoint-powerpointtable/): Enables or disables last row styling on the table.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property       // C# fluent
powerPointTable.LastRow = value;    powerPointTable.LastRow(value);
```

`public static TSelf RowHeightsByRatio<TSelf>(TSelf powerPointTable, params double[] ratios)` [#](#method-rowheightsbyratio-double)

Sets row heights proportionally using ratios.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**ratios double[] required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf RowHeightsEvenly<TSelf>(TSelf powerPointTable)` [#](#method-rowheightsevenly)

Sets row heights evenly across the table height.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

Returns

`TSelf` The same instance.

`public static TSelf RowHeights<TSelf>(TSelf powerPointTable, params OfficeLength[] heights)` [#](#method-rowheights-officeimo-officelength)

Sets physical sizes for the first rows or columns supplied.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**heights OfficeIMO.OfficeLength[] required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf StyleId<TSelf>(TSelf powerPointTable, string? value)` [#](#method-styleid-string)

Sets [PowerPointTable.StyleId](/api/powerpoint/officeimo-powerpoint-powerpointtable/): Gets or sets the table style ID GUID.

Type Parameters

**TSelf**

Parameters

**powerPointTable TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property       // C# fluent
powerPointTable.StyleId = value;    powerPointTable.StyleId(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:454E760370CCA4E011278F90FA38FD579C03496AB79FF26AFC76AC51ACB71E12 -->
