PowerPointTableCellScope
OfficeIMO.PowerPoint
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.
Returned or exposed by 19
- Method PowerPointTableCellScope.Bold
- Method PowerPointTableCellScope.BorderColor
- Method PowerPointTableCellScope.Borders
- Method PowerPointTableCellScope.Color
- Method PowerPointTableCellScope.FillColor
- Method PowerPointTableCellScope.FontFamily
- Method PowerPointTableCellScope.FontSize
- Method PowerPointTableCellScope.HorizontalAlignment
- Method PowerPointTableCellScope.Italic
- Method PowerPointTableCellScope.Merge
- Method PowerPointTableCellScope.NoFill
- Method PowerPointTableCellScope.PaddingBottom
- Method PowerPointTableCellScope.PaddingLeft
- Method PowerPointTableCellScope.PaddingRight
- Method PowerPointTableCellScope.PaddingTop
- Method PowerPointTableCellScope.Text
- Method PowerPointTableCellScope.TextAutoFit
- Method PowerPointTableCellScope.TextAutoFitOptions
- Method PowerPointTableCellScope.VerticalAlignment
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
- The value.
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?
- The value.
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
- The value.
- color OfficeIMO.OfficeColor
- The value.
- width OfficeIMO.OfficeLength? = null
- The value.
- dash OfficeIMO.PowerPoint.PowerPointLineDashStyle? = null
- The value.
public PowerPointTableCellScope Color(OfficeColor? color) #Sets PowerPointTableCell.Color for the entire cell and returns this instance.
Parameters
- color OfficeIMO.OfficeColor?
- The value.
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?
- The value.
public PowerPointTableCellScope FontFamily(string? fontFamily) #Sets PowerPointTableCell.FontFamily for the entire cell and returns this instance.
Parameters
- fontFamily string?
- The value.
public PowerPointTableCellScope FontSize(OfficeLength? fontSize) #Sets PowerPointTableCell.FontSize for the entire cell and returns this instance.
Parameters
- fontSize OfficeIMO.OfficeLength?
- The value.
public PowerPointTableCellScope HorizontalAlignment(PowerPointTextAlignment? value) #Sets PowerPointTableCell.HorizontalAlignment: Gets or sets the horizontal alignment of the cell text.
Parameters
- value OfficeIMO.PowerPoint.PowerPointTextAlignment?
- The value.
public PowerPointTableCellScope Italic(bool italic = true) #Sets PowerPointTableCell.Italic for the entire cell and returns this instance.
Parameters
- italic bool = true
- The value.
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>
- The value.
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
- The value; true when omitted.
public PowerPointTableCellScope PaddingBottom(OfficeLength? value) #Sets PowerPointTableCell.PaddingBottom: Gets or sets the bottom padding as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointTableCellScope PaddingLeft(OfficeLength? value) #Sets PowerPointTableCell.PaddingLeft: Gets or sets the left padding as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointTableCellScope PaddingRight(OfficeLength? value) #Sets PowerPointTableCell.PaddingRight: Gets or sets the right padding as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public PowerPointTableCellScope PaddingTop(OfficeLength? value) #Sets PowerPointTableCell.PaddingTop: Gets or sets the top padding as a physical length.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
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
- The value.
- configure System.Action<OfficeIMO.PowerPoint.PowerPointTextRunScope>? = null
- Configures the new item through its scope.
public PowerPointTableCellScope TextAutoFit(PowerPointTextAutoFit fit, PowerPointTextAutoFitOptions? options = null) #Sets the auto-fit mode and optional Normal auto-fit options.
Parameters
- fit OfficeIMO.PowerPoint.PowerPointTextAutoFit
- The value.
- options OfficeIMO.PowerPoint.PowerPointTextAutoFitOptions? = null
- The value.
public PowerPointTableCellScope TextAutoFit(PowerPointTextAutoFit? value) #Sets PowerPointTableCell.TextAutoFit: Gets or sets the text auto-fit behavior for the cell.
Parameters
- value OfficeIMO.PowerPoint.PowerPointTextAutoFit?
- The value.
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?
- The value.
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?
- The value.
Inherited Methods
Properties
public PowerPointTableCell Model { get; } #The PowerPointTableCell this scope edits, for plain C# inside a lambda.