Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointTableCellScope

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
sealed

Edits one 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.

Accepted by parameters 1

Methods

public PowerPointTableCellScope Bold(bool bold = true) #

Sets PowerPointTableCell.Bold 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) #

Sets PowerPointTableCell.BorderColor: 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) #

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) #

Sets PowerPointTableCell.Color 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) #

Sets PowerPointTableCell.FillColor: 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) #

Sets PowerPointTableCell.FontFamily for the entire cell and returns this instance.

Parameters

fontFamily string? required
The value.

Returns

PowerPointTableCellScope The same scope.
public PowerPointTableCellScope FontSize(OfficeLength? fontSize) #

Sets PowerPointTableCell.FontSize 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) #

Sets PowerPointTableCell.HorizontalAlignment: 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) #

Sets PowerPointTableCell.Italic 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) #

Sets PowerPointTableCell.Merge: 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) #

Sets PowerPointTableCell.NoFill: 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) #

Sets PowerPointTableCell.PaddingBottom: 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) #

Sets PowerPointTableCell.PaddingLeft: 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) #

Sets PowerPointTableCell.PaddingRight: 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) #

Sets PowerPointTableCell.PaddingTop: 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) #

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) #

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) #

Sets PowerPointTableCell.TextAutoFit: 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) #

Sets PowerPointTableCell.TextAutoFitOptions: 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) #

Sets PowerPointTableCell.VerticalAlignment: 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.

Properties

public PowerPointTableCell Model { get; } #

The PowerPointTableCell this scope edits, for plain C# inside a lambda.