Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordTableRowFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of WordTableRow, 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
  • WordTableRowFluent

Methods

public static TSelf AllowRowToBreakAcrossPages<TSelf>(TSelf wordTableRow, bool value = true) #

Sets WordTableRow.AllowRowToBreakAcrossPages: Gets or sets a value indicating whether the row is allowed to break across pages. When set to false, the row is kept intact on a single page.

Type Parameters

TSelf

Parameters

wordTableRow TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                       // C# fluent
wordTableRow.AllowRowToBreakAcrossPages = value;    wordTableRow.AllowRowToBreakAcrossPages(value);
public static TSelf FirstCell<TSelf>(TSelf wordTableRow, Action<WordTableCell> configure) #

Configures WordTableRow.FirstCell in place: Return first cell for given row

Type Parameters

TSelf

Parameters

wordTableRow TSelf required
The instance.
configure System.Action<OfficeIMO.Word.WordTableCell> required
Configures the value.

Returns

TSelf The same instance.
public static TSelf Height<TSelf>(TSelf wordTableRow, OfficeLength? value) #

Sets WordTableRow.Height: Gets the declared row height as a physical length, or sets an exact height. Null removes the height constraint.

Type Parameters

TSelf

Parameters

wordTableRow TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property    // C# fluent
wordTableRow.Height = value;     wordTableRow.Height(value);
public static TSelf LastCell<TSelf>(TSelf wordTableRow, Action<WordTableCell> configure) #

Configures WordTableRow.LastCell in place: Return last cell for given row

Type Parameters

TSelf

Parameters

wordTableRow TSelf required
The instance.
configure System.Action<OfficeIMO.Word.WordTableCell> required
Configures the value.

Returns

TSelf The same instance.
public static TSelf MinimumHeight<TSelf>(TSelf wordTableRow, OfficeLength? value) #

Sets WordTableRow.MinimumHeight: Gets or sets the minimum row height as a physical length, allowing the row to grow to fit content. Setting a value replaces an exact height. Null removes a minimum constraint and preserves an exact height.

Type Parameters

TSelf

Parameters

wordTableRow TSelf required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property          // C# fluent
wordTableRow.MinimumHeight = value;    wordTableRow.MinimumHeight(value);
public static TSelf Parent<TSelf>(TSelf wordTableRow, Action<WordTable> configure) #

Configures WordTableRow.Parent in place: Gets the table that owns this row.

Type Parameters

TSelf

Parameters

wordTableRow TSelf required
The instance.
configure System.Action<OfficeIMO.Word.WordTable> required
Configures the value.

Returns

TSelf The same instance.
public static TSelf RepeatHeaderRowAtTheTopOfEachPage<TSelf>(TSelf wordTableRow, bool value = true) #

Sets WordTableRow.RepeatHeaderRowAtTheTopOfEachPage: Gets or sets whether this table row should repeat at the top of each page. Word repeats contiguous header rows from the start of the table. Setting false explicitly overrides a repeating header inherited from a table style.

Type Parameters

TSelf

Parameters

wordTableRow TSelf required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TSelf The same instance.

Examples

// C# initializer or property                              // C# fluent
wordTableRow.RepeatHeaderRowAtTheTopOfEachPage = value;    wordTableRow.RepeatHeaderRowAtTheTopOfEachPage(value);