WordTableCellFluent
OfficeIMO.Word
The fluent methods of WordTableCell, 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
- WordTableCellFluent
Methods
public static TSelf Borders<TSelf>(TSelf wordTableCell, Action<WordTableCellBorder> configure) #Configures WordTableCell.Borders in place: Provides access to the border configuration of the cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- configure System.Action<OfficeIMO.Word.WordTableCellBorder>
- Configures the value.
Returns
TSelf The same instance.public static TSelf FitText<TSelf>(TSelf wordTableCell, bool value = true) #Sets WordTableCell.FitText: Gets or sets whether text is compressed to fit within the cell width.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.FitText = value; wordTableCell.FitText(value);public static TSelf HideMark<TSelf>(TSelf wordTableCell, bool value = true) #Sets WordTableCell.HideMark: Gets or sets whether the empty cell mark is hidden for this cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.HideMark = value; wordTableCell.HideMark(value);public static TSelf HorizontalMerge<TSelf>(TSelf wordTableCell, WordCellMerge? value) #Sets WordTableCell.HorizontalMerge: Gets or Sets Horizontal Merge for a Table Cell
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.Word.WordCellMerge?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.HorizontalMerge = value; wordTableCell.HorizontalMerge(value);public static TSelf MarginBottom<TSelf>(TSelf wordTableCell, OfficeLength? value) #Sets WordTableCell.MarginBottom: Gets or sets the bottom margin as a physical length for the current cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.MarginBottom = value; wordTableCell.MarginBottom(value);public static TSelf MarginLeft<TSelf>(TSelf wordTableCell, OfficeLength? value) #Sets WordTableCell.MarginLeft: Gets or sets the left margin as a physical length for the current cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.MarginLeft = value; wordTableCell.MarginLeft(value);public static TSelf MarginRight<TSelf>(TSelf wordTableCell, OfficeLength? value) #Sets WordTableCell.MarginRight: Gets or sets the right margin as a physical length for the current cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.MarginRight = value; wordTableCell.MarginRight(value);public static TSelf MarginTop<TSelf>(TSelf wordTableCell, OfficeLength? value) #Sets WordTableCell.MarginTop: Gets or sets the top margin as a physical length for the current cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.OfficeLength?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.MarginTop = value; wordTableCell.MarginTop(value);public static TSelf ParentTable<TSelf>(TSelf wordTableCell, Action<WordTable> configure) #Configures WordTableCell.ParentTable in place: Gets the table that owns this cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- configure System.Action<OfficeIMO.Word.WordTable>
- Configures the value.
Returns
TSelf The same instance.public static TSelf Parent<TSelf>(TSelf wordTableCell, Action<WordTableRow> configure) #Configures WordTableCell.Parent in place: Gets the row that owns this cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- configure System.Action<OfficeIMO.Word.WordTableRow>
- Configures the value.
Returns
TSelf The same instance.public static TSelf ShadingFillColor<TSelf>(TSelf wordTableCell, 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.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.ShadingFillColor = value; wordTableCell.ShadingFillColor(value);public static TSelf ShadingPattern<TSelf>(TSelf wordTableCell, WordShadingPattern? value) #Sets WordTableCell.ShadingPattern: Get or set the background pattern of a cell
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.Word.WordShadingPattern?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.ShadingPattern = value; wordTableCell.ShadingPattern(value);public static TSelf TextDirection<TSelf>(TSelf wordTableCell, WordTextDirection? value) #Sets WordTableCell.TextDirection: Gets or sets text direction in a Table Cell
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.Word.WordTextDirection?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.TextDirection = value; wordTableCell.TextDirection(value);public static TSelf VerticalAlignment<TSelf>(TSelf wordTableCell, WordTableVerticalAlignment? value) #Sets WordTableCell.VerticalAlignment: Gets or sets cell vertical alignment in a Table Cell
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.Word.WordTableVerticalAlignment?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.VerticalAlignment = value; wordTableCell.VerticalAlignment(value);public static TSelf VerticalMerge<TSelf>(TSelf wordTableCell, WordCellMerge? value) #Sets WordTableCell.VerticalMerge: Gets or sets vertical merge for this cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.Word.WordCellMerge?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.VerticalMerge = value; wordTableCell.VerticalMerge(value);public static TSelf Width<TSelf>(TSelf wordTableCell, WordTableWidth? value) #Sets WordTableCell.Width: Gets or sets the directly authored preferred cell width. Null removes tcW.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value OfficeIMO.Word.WordTableWidth?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.Width = value; wordTableCell.Width(value);public static TSelf WrapText<TSelf>(TSelf wordTableCell, bool value = true) #Sets WordTableCell.WrapText: Gets or sets whether text wraps within the cell.
Type Parameters
- TSelf
Parameters
- wordTableCell TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordTableCell.WrapText = value; wordTableCell.WrapText(value);