# PowerPointTableCellScope

Edits one PowerPointTableCell: its fluent methods and keywords, each returning this scope.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Modifiers**

sealed

Edits one [PowerPointTableCell](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- PowerPointTableCellScope

## Usage

Explore 20 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 19

- Method [PowerPointTableCellScope.Bold](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-bold-boolean)
- Method [PowerPointTableCellScope.BorderColor](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-bordercolor-nullable-officeimo-officecolor)
- Method [PowerPointTableCellScope.Borders](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-borders-officeimo-powerpoint-powerpointtablecellborders-officeimo-officecolor-nullable-officeimo-officelength-nullable-officeimo-powerpoint-powerpointlinedashstyle)
- Method [PowerPointTableCellScope.Color](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-color-nullable-officeimo-officecolor)
- Method [PowerPointTableCellScope.FillColor](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-fillcolor-nullable-officeimo-officecolor)
- Method [PowerPointTableCellScope.FontFamily](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-fontfamily-string)
- Method [PowerPointTableCellScope.FontSize](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-fontsize-nullable-officeimo-officelength)
- Method [PowerPointTableCellScope.HorizontalAlignment](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-horizontalalignment-nullable-officeimo-powerpoint-powerpointtextalignment)
- Method [PowerPointTableCellScope.Italic](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-italic-boolean)
- Method [PowerPointTableCellScope.Merge](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-merge-valuetuple-system-int32-system-int32)
- Method [PowerPointTableCellScope.NoFill](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-nofill-boolean)
- Method [PowerPointTableCellScope.PaddingBottom](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-paddingbottom-nullable-officeimo-officelength)
- Method [PowerPointTableCellScope.PaddingLeft](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-paddingleft-nullable-officeimo-officelength)
- Method [PowerPointTableCellScope.PaddingRight](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-paddingright-nullable-officeimo-officelength)
- Method [PowerPointTableCellScope.PaddingTop](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-paddingtop-nullable-officeimo-officelength)
- Method [PowerPointTableCellScope.Text](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-text-string-action-officeimo-powerpoint-powerpointtextrunscope)
- Method [PowerPointTableCellScope.TextAutoFit](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-textautofit-nullable-officeimo-powerpoint-powerpointtextautofit)
- Method [PowerPointTableCellScope.TextAutoFitOptions](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-textautofitoptions-nullable-officeimo-powerpoint-powerpointtextautofitoptions)
- Method [PowerPointTableCellScope.VerticalAlignment](/api/powerpoint/officeimo-powerpoint-powerpointtablecellscope/#method-verticalalignment-nullable-officeimo-powerpoint-powerpointtextverticalalignment)

### Accepted by parameters 1

- Method [PowerPointTableRowBuilder.Cell](/api/powerpoint/officeimo-powerpoint-powerpointtablerowbuilder/#method-cell-string-action-officeimo-powerpoint-powerpointtablecellscope) parameter `configure`

Filter members 

Show inherited

## Methods

`public PowerPointTableCellScope Bold(bool bold = true)` [#](#method-bold-boolean)

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

Parameters

**bold bool = true optional**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope BorderColor(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.

Parameters

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope Borders(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.

Parameters

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

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope Color(OfficeColor? color)` [#](#method-color-nullable-officeimo-officecolor)

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

Parameters

**color OfficeIMO.OfficeColor? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope FillColor(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.

Parameters

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope FontFamily(string? fontFamily)` [#](#method-fontfamily-string)

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

Parameters

**fontFamily string? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope FontSize(OfficeLength? fontSize)` [#](#method-fontsize-nullable-officeimo-officelength)

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

Parameters

**fontSize OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope HorizontalAlignment(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.

Parameters

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

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope Italic(bool italic = true)` [#](#method-italic-boolean)

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

Parameters

**italic bool = true optional**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope Merge(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).

Parameters

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

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope NoFill(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.

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope PaddingBottom(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.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope PaddingLeft(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.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope PaddingRight(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.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope PaddingTop(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.

Parameters

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope Text(string text, Action<PowerPointTextRunScope>? configure = null)` [#](#method-text-string-action-officeimo-powerpoint-powerpointtextrunscope)

Appends text as a new run in the first cell paragraph and returns that run.

Parameters

**text string required**

The value.

**configure System.Action<OfficeIMO.PowerPoint.PowerPointTextRunScope>? = null optional**

Configures the new item through its scope.

Returns

`PowerPointTableCellScope` The same scope.

TextAutoFit 2 overloads

`public PowerPointTableCellScope TextAutoFit(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.

Parameters

**fit OfficeIMO.PowerPoint.PowerPointTextAutoFit required**

The value.

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

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope TextAutoFit(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.

Parameters

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

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope TextAutoFitOptions(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).

Parameters

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

The value.

Returns

`PowerPointTableCellScope` The same scope.

`public PowerPointTableCellScope VerticalAlignment(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).

Parameters

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

The value.

Returns

`PowerPointTableCellScope` The same scope.

## 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?`

## Properties

`public PowerPointTableCell Model { get; }` [#](#property-model)

The [PowerPointTableCell](/api/powerpoint/officeimo-powerpoint-powerpointtablecell/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:E34C58EFC6F2971C7914E55B89CCD08AC140D5C7A3809DFA447506934DC1CCAA -->
