WordTableCellScope
OfficeIMO.Word
Edits one WordTableCell: its fluent methods and keywords, each returning this scope.
Inheritance
- object
- WordTableCellScope
Usage
Explore 22 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 20
- Method WordTableCellScope.Borders
- Method WordTableCellScope.FitText
- Method WordTableCellScope.HideMark
- Method WordTableCellScope.HorizontalMerge
- Method WordTableCellScope.List
- Method WordTableCellScope.MarginBottom
- Method WordTableCellScope.MarginLeft
- Method WordTableCellScope.MarginRight
- Method WordTableCellScope.MarginTop
- Method WordTableCellScope.Paragraph
- Method WordTableCellScope.Parent
- Method WordTableCellScope.ParentTable
- Method WordTableCellScope.ShadingFillColor
- Method WordTableCellScope.ShadingPattern
- Method WordTableCellScope.Table
- Method WordTableCellScope.TextDirection
- Method WordTableCellScope.VerticalAlignment
- Method WordTableCellScope.VerticalMerge
- Method WordTableCellScope.Width
- Method WordTableCellScope.WrapText
Accepted by parameters 2
- Method WordTableRowBuilder.Cell
- Method WordTableRowScope.Cell
Methods
public WordTableCellScope Borders(Action<WordTableCellBorder> configure) #Configures WordTableCell.Borders in place: Provides access to the border configuration of the cell.
Parameters
- configure System.Action<OfficeIMO.Word.WordTableCellBorder>
- Configures the value.
public WordTableCellScope FitText(bool value = true) #Sets WordTableCell.FitText: Gets or sets whether text is compressed to fit within the cell width.
Parameters
- value bool = true
- The value; true when omitted.
public WordTableCellScope HideMark(bool value = true) #Sets WordTableCell.HideMark: Gets or sets whether the empty cell mark is hidden for this cell.
Parameters
- value bool = true
- The value; true when omitted.
public WordTableCellScope HorizontalMerge(WordCellMerge? value) #Sets WordTableCell.HorizontalMerge: Gets or Sets Horizontal Merge for a Table Cell
Parameters
- value OfficeIMO.Word.WordCellMerge?
- The value.
public WordTableCellScope List(WordListStyle style, Action<WordListScope>? configure = null) #Creates a list within this table cell using the specified style.
Parameters
- style OfficeIMO.Word.WordListStyle
- List style to apply.
- configure System.Action<OfficeIMO.Word.WordListScope>? = null
- Configures the new item through its scope.
public WordTableCellScope MarginBottom(OfficeLength? value) #Sets WordTableCell.MarginBottom: Gets or sets the bottom margin as a physical length for the current cell.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordTableCellScope MarginLeft(OfficeLength? value) #Sets WordTableCell.MarginLeft: Gets or sets the left margin as a physical length for the current cell.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordTableCellScope MarginRight(OfficeLength? value) #Sets WordTableCell.MarginRight: Gets or sets the right margin as a physical length for the current cell.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordTableCellScope MarginTop(OfficeLength? value) #Sets WordTableCell.MarginTop: Gets or sets the top margin as a physical length for the current cell.
Parameters
- value OfficeIMO.OfficeLength?
- The value.
public WordTableCellScope Paragraph(Action<WordParagraphScope> configure) #Adds a paragraph to the cell and composes it.
Parameters
- configure System.Action<OfficeIMO.Word.WordParagraphScope>
- Adds text runs and formats the paragraph.
public WordTableCellScope Paragraph(string text, bool removeExistingParagraphs = false, Action<WordParagraphScope>? configure = null) #Add paragraph to the table cell with text
Parameters
- text string
- The value.
- removeExistingParagraphs bool = false
- The value.
- configure System.Action<OfficeIMO.Word.WordParagraphScope>? = null
- Configures the new item through its scope.
public WordTableCellScope Parent(Action<WordTableRow> configure) #Configures WordTableCell.Parent in place: Gets the row that owns this cell.
Parameters
- configure System.Action<OfficeIMO.Word.WordTableRow>
- Configures the value.
public WordTableCellScope ParentTable(Action<WordTable> configure) #Configures WordTableCell.ParentTable in place: Gets the table that owns this cell.
Parameters
- configure System.Action<OfficeIMO.Word.WordTable>
- Configures the value.
public WordTableCellScope ShadingFillColor(OfficeColor? value) #Sets WordTableCell.ShadingFillColor: Gets the resolved background color. Setting a role retains native theme slots and resolves status colors against the document. An automatic or unspecified fill returns null; setting null removes the shading.
Parameters
- value OfficeIMO.OfficeColor?
- The value.
public WordTableCellScope ShadingPattern(WordShadingPattern? value) #Sets WordTableCell.ShadingPattern: Get or set the background pattern of a cell
Parameters
- value OfficeIMO.Word.WordShadingPattern?
- The value.
public WordTableCellScope Table(Action<WordTableBuilder> compose) #Adds a nested table composed row by row to the cell.
Parameters
- compose System.Action<OfficeIMO.Word.WordTableBuilder>
- Sets the columns, header and rows.
public WordTableCellScope Table(int rows, int columns, WordTableStyle tableStyle = TableGrid, bool removePrecedingParagraph = false, Action<WordTableScope>? configure = null) #Add table to a table cell (nested table)
Parameters
- rows int
- The value.
- columns int
- The value.
- tableStyle OfficeIMO.Word.WordTableStyle = TableGrid
- The value.
- removePrecedingParagraph bool = false
- The value.
- configure System.Action<OfficeIMO.Word.WordTableScope>? = null
- Configures the new item through its scope.
public WordTableCellScope TextDirection(WordTextDirection? value) #Sets WordTableCell.TextDirection: Gets or sets text direction in a Table Cell
Parameters
- value OfficeIMO.Word.WordTextDirection?
- The value.
public WordTableCellScope VerticalAlignment(WordTableVerticalAlignment? value) #Sets WordTableCell.VerticalAlignment: Gets or sets cell vertical alignment in a Table Cell
Parameters
- value OfficeIMO.Word.WordTableVerticalAlignment?
- The value.
public WordTableCellScope VerticalMerge(WordCellMerge? value) #Sets WordTableCell.VerticalMerge: Gets or sets vertical merge for this cell.
Parameters
- value OfficeIMO.Word.WordCellMerge?
- The value.
public WordTableCellScope Width(WordTableWidth? value) #Sets WordTableCell.Width: Gets or sets the directly authored preferred cell width. Null removes tcW.
Parameters
- value OfficeIMO.Word.WordTableWidth?
- The value.
public WordTableCellScope WrapText(bool value = true) #Sets WordTableCell.WrapText: Gets or sets whether text wraps within the cell.
Parameters
- value bool = true
- The value; true when omitted.
Inherited Methods
Properties
public WordTableCell Model { get; } #The WordTableCell this scope edits, for plain C# inside a lambda.