# PowerPointTableCellFluent

The fluent methods of PowerPointTableCell, 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 [PowerPointTableCell](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/), 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
- PowerPointTableCellFluent

Filter members 

Show inherited

## Methods

`public static TSelf Bold<TSelf>(TSelf powerPointTableCell, bool bold = true)` [#](#method-bold-boolean)

Sets [PowerPointTableCell.Bold](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/) for the entire cell and returns this instance.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**bold bool = true optional**

The value.

Returns

`TSelf` The same instance.

`public static TSelf BorderColor<TSelf>(TSelf powerPointTableCell, OfficeColor? value)` [#](#method-bordercolor-nullable-officeimo-officecolor)

Sets [PowerPointTableCell.BorderColor](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the local border color (all sides), retaining native theme slots and opacity.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
powerPointTableCell.BorderColor = value;    powerPointTableCell.BorderColor(value);
```

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

Applies border styling, retaining the existing width or dash when omitted.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell 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.

`public static TSelf Color<TSelf>(TSelf powerPointTableCell, OfficeColor? color)` [#](#method-color-nullable-officeimo-officecolor)

Sets [PowerPointTableCell.Color](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/) for the entire cell and returns this instance.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**color OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf FillColor<TSelf>(TSelf powerPointTableCell, OfficeColor? value)` [#](#method-fillcolor-nullable-officeimo-officecolor)

Sets [PowerPointTableCell.FillColor](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the local cell fill. Setting a color replaces other local fill choices. Null removes the local solid fill and allows the remaining local or table style fill to apply.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property             // C# fluent
powerPointTableCell.FillColor = value;    powerPointTableCell.FillColor(value);
```

`public static TSelf FontFamily<TSelf>(TSelf powerPointTableCell, string? fontFamily)` [#](#method-fontfamily-string)

Sets [PowerPointTableCell.FontFamily](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/) for the entire cell and returns this instance.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**fontFamily string? required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf FontSize<TSelf>(TSelf powerPointTableCell, OfficeLength? fontSize)` [#](#method-fontsize-nullable-officeimo-officelength)

Sets [PowerPointTableCell.FontSize](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/) for the entire cell and returns this instance.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**fontSize OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

`public static TSelf HorizontalAlignment<TSelf>(TSelf powerPointTableCell, PowerPointTextAlignment? value)` [#](#method-horizontalalignment-nullable-officeimo-powerpoint-powerpointtextalignment)

Sets [PowerPointTableCell.HorizontalAlignment](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the horizontal alignment of the cell text.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.PowerPoint.PowerPointTextAlignment? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                       // C# fluent
powerPointTableCell.HorizontalAlignment = value;    powerPointTableCell.HorizontalAlignment(value);
```

`public static TSelf Italic<TSelf>(TSelf powerPointTableCell, bool italic = true)` [#](#method-italic-boolean)

Sets [PowerPointTableCell.Italic](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/) for the entire cell and returns this instance.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**italic bool = true optional**

The value.

Returns

`TSelf` The same instance.

`public static TSelf Merge<TSelf>(TSelf powerPointTableCell, ValueTuple<int, int> value)` [#](#method-merge-valuetuple-system-int32-system-int32)

Sets [PowerPointTableCell.Merge](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the merge information for this cell. Tuple is in format (rows, columns).

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value System.ValueTuple<int, int> required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
powerPointTableCell.Merge = value;    powerPointTableCell.Merge(value);
```

`public static TSelf NoFill<TSelf>(TSelf powerPointTableCell, bool value = true)` [#](#method-nofill-boolean)

Sets [PowerPointTableCell.NoFill](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets an explicit transparent cell fill that suppresses the table style fill. Setting true replaces other local fill choices; setting false removes the no-fill override.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell 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
powerPointTableCell.NoFill = value;    powerPointTableCell.NoFill(value);
```

`public static TSelf PaddingBottom<TSelf>(TSelf powerPointTableCell, OfficeLength? value)` [#](#method-paddingbottom-nullable-officeimo-officelength)

Sets [PowerPointTableCell.PaddingBottom](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the bottom padding as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                 // C# fluent
powerPointTableCell.PaddingBottom = value;    powerPointTableCell.PaddingBottom(value);
```

`public static TSelf PaddingLeft<TSelf>(TSelf powerPointTableCell, OfficeLength? value)` [#](#method-paddingleft-nullable-officeimo-officelength)

Sets [PowerPointTableCell.PaddingLeft](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the left padding as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
powerPointTableCell.PaddingLeft = value;    powerPointTableCell.PaddingLeft(value);
```

`public static TSelf PaddingRight<TSelf>(TSelf powerPointTableCell, OfficeLength? value)` [#](#method-paddingright-nullable-officeimo-officelength)

Sets [PowerPointTableCell.PaddingRight](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the right padding as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                // C# fluent
powerPointTableCell.PaddingRight = value;    powerPointTableCell.PaddingRight(value);
```

`public static TSelf PaddingTop<TSelf>(TSelf powerPointTableCell, OfficeLength? value)` [#](#method-paddingtop-nullable-officeimo-officelength)

Sets [PowerPointTableCell.PaddingTop](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the top padding as a physical length.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property              // C# fluent
powerPointTableCell.PaddingTop = value;    powerPointTableCell.PaddingTop(value);
```

`public static TSelf TextAutoFitOptions<TSelf>(TSelf powerPointTableCell, PowerPointTextAutoFitOptions? value)` [#](#method-textautofitoptions-nullable-officeimo-powerpoint-powerpointtextautofitoptions)

Sets [PowerPointTableCell.TextAutoFitOptions](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets detailed auto-fit options (only applies to Normal auto-fit).

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                      // C# fluent
powerPointTableCell.TextAutoFitOptions = value;    powerPointTableCell.TextAutoFitOptions(value);
```

TextAutoFit``1 2 overloads

`public static TSelf TextAutoFit<TSelf>(TSelf powerPointTableCell, PowerPointTextAutoFit fit, PowerPointTextAutoFitOptions? options = null)` [#](#method-textautofit-officeimo-powerpoint-powerpointtextautofit-nullable-officeimo-powerpoint-powerpointtextautofitoptions)

Sets the auto-fit mode and optional Normal auto-fit options.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**fit OfficeIMO.PowerPoint.PowerPointTextAutoFit required**

The value.

**options OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? = null optional**

The value.

Returns

`TSelf` The same instance.

`public static TSelf TextAutoFit<TSelf>(TSelf powerPointTableCell, PowerPointTextAutoFit? value)` [#](#method-textautofit-nullable-officeimo-powerpoint-powerpointtextautofit)

Sets [PowerPointTableCell.TextAutoFit](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the text auto-fit behavior for the cell.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.PowerPoint.PowerPointTextAutoFit? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property               // C# fluent
powerPointTableCell.TextAutoFit = value;    powerPointTableCell.TextAutoFit(value);
```

`public static TSelf Text<TSelf>(TSelf powerPointTableCell, string value)` [#](#method-text-string)

Sets [PowerPointTableCell.Text](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the text contained in the cell.

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value string required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property        // C# fluent
powerPointTableCell.Text = value;    powerPointTableCell.Text(value);
```

`public static TSelf VerticalAlignment<TSelf>(TSelf powerPointTableCell, PowerPointTextVerticalAlignment? value)` [#](#method-verticalalignment-nullable-officeimo-powerpoint-powerpointtextverticalalignment)

Sets [PowerPointTableCell.VerticalAlignment](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): Gets or sets the vertical alignment of the cell text (top/center/bottom).

Type Parameters

**TSelf**

Parameters

**powerPointTableCell TSelf required**

The instance.

**value OfficeIMO.PowerPoint.PowerPointTextVerticalAlignment? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                     // C# fluent
powerPointTableCell.VerticalAlignment = value;    powerPointTableCell.VerticalAlignment(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:658A4A7664BD2CAFCB998A86274444EE466E9ACCDE9FF08F4812DD28F2BB7F39 -->
