RtfTableCellFluent
OfficeIMO.Rtf
The fluent methods of RtfTableCell, 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
- RtfTableCellFluent
Methods
public static RtfTableCell BackgroundColor(RtfTableCell rtfTableCell, int? colorIndex) #Sets cell background shading to a one-based color table index.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- colorIndex int?
- The value.
public static RtfTableCell BackgroundColorIndex(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.BackgroundColorIndex: One-based color table index used for cell background shading.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { BackgroundColorIndex = value }; rtfTableCell.BackgroundColorIndex(value);public static RtfTableCell BottomBorder(RtfTableCell rtfTableCell, Action<RtfTableCellBorder> configure) #Configures RtfTableCell.BottomBorder in place: Bottom cell border.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfTableCellBorder>
- Configures the value.
public static RtfTableCell FitText(RtfTableCell rtfTableCell, bool fitText = true) #Sets whether text is compressed to fit within the cell width.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- fitText bool = true
- The value.
public static RtfTableCell HideCellMark(RtfTableCell rtfTableCell, bool hidden = true) #Sets whether the end-of-cell mark is hidden.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- hidden bool = true
- The value.
public static RtfTableCell HorizontalMerge(RtfTableCell rtfTableCell, RtfTableCellMerge value) #Sets RtfTableCell.HorizontalMerge: Horizontal merge marker.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value OfficeIMO.Rtf.RtfTableCellMerge
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { HorizontalMerge = value }; rtfTableCell.HorizontalMerge(value);public static RtfTableCell LeftBorder(RtfTableCell rtfTableCell, Action<RtfTableCellBorder> configure) #Configures RtfTableCell.LeftBorder in place: Left cell border.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfTableCellBorder>
- Configures the value.
public static RtfTableCell NoWrap(RtfTableCell rtfTableCell, bool noWrap = true) #Sets whether text should not wrap inside the cell.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- noWrap bool = true
- The value.
public static RtfTableCell Padding(RtfTableCell rtfTableCell, int? topTwips = null, int? leftTwips = null, int? bottomTwips = null, int? rightTwips = null) #Sets cell padding in twips.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- topTwips int? = null
- The value.
- leftTwips int? = null
- The value.
- bottomTwips int? = null
- The value.
- rightTwips int? = null
- The value.
public static RtfTableCell PaddingBottomTwips(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.PaddingBottomTwips: Bottom cell padding in twips.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { PaddingBottomTwips = value }; rtfTableCell.PaddingBottomTwips(value);public static RtfTableCell PaddingLeftTwips(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.PaddingLeftTwips: Left cell padding in twips.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { PaddingLeftTwips = value }; rtfTableCell.PaddingLeftTwips(value);public static RtfTableCell PaddingRightTwips(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.PaddingRightTwips: Right cell padding in twips.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { PaddingRightTwips = value }; rtfTableCell.PaddingRightTwips(value);public static RtfTableCell PaddingTopTwips(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.PaddingTopTwips: Top cell padding in twips.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { PaddingTopTwips = value }; rtfTableCell.PaddingTopTwips(value);public static RtfTableCell PreferredWidth(RtfTableCell rtfTableCell, int? width, RtfTableWidthUnit? unit = null) #Sets the preferred cell width.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- width int?
- The value.
- unit OfficeIMO.Rtf.RtfTableWidthUnit? = null
- The value.
public static RtfTableCell PreferredWidth(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.PreferredWidth: Preferred cell width value carried by \clwWidth.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { PreferredWidth = value }; rtfTableCell.PreferredWidth(value);public static RtfTableCell PreferredWidthUnit(RtfTableCell rtfTableCell, RtfTableWidthUnit? value) #Sets RtfTableCell.PreferredWidthUnit: Preferred cell width unit carried by \clftsWidth.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value OfficeIMO.Rtf.RtfTableWidthUnit?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { PreferredWidthUnit = value }; rtfTableCell.PreferredWidthUnit(value);public static RtfTableCell RightBorder(RtfTableCell rtfTableCell, Action<RtfTableCellBorder> configure) #Configures RtfTableCell.RightBorder in place: Right cell border.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfTableCellBorder>
- Configures the value.
public static RtfTableCell RightBoundaryTwips(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.RightBoundaryTwips: Right cell boundary in twips.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { RightBoundaryTwips = value }; rtfTableCell.RightBoundaryTwips(value);public static RtfTableCell Shading(RtfTableCell rtfTableCell, int? backgroundColorIndex, int? foregroundColorIndex = null, int? patternPercent = null, RtfShadingPattern pattern = None) #Sets cell shading color and pattern metadata.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- backgroundColorIndex int?
- The value.
- foregroundColorIndex int? = null
- The value.
- patternPercent int? = null
- The value.
- pattern OfficeIMO.Rtf.RtfShadingPattern = None
- The value.
public static RtfTableCell ShadingForegroundColorIndex(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.ShadingForegroundColorIndex: One-based color table index used for cell pattern foreground shading.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { ShadingForegroundColorIndex = value }; rtfTableCell.ShadingForegroundColorIndex(value);public static RtfTableCell ShadingPattern(RtfTableCell rtfTableCell, RtfShadingPattern value) #Sets RtfTableCell.ShadingPattern: Named RTF cell shading pattern.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value OfficeIMO.Rtf.RtfShadingPattern
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { ShadingPattern = value }; rtfTableCell.ShadingPattern(value);public static RtfTableCell ShadingPatternPercent(RtfTableCell rtfTableCell, int? value) #Sets RtfTableCell.ShadingPatternPercent: Raw RTF \clshdng value, where 10000 represents 100 percent.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { ShadingPatternPercent = value }; rtfTableCell.ShadingPatternPercent(value);public static RtfTableCell TextFlow(RtfTableCell rtfTableCell, RtfTableCellTextFlow? textFlow) #Sets the cell text flow.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- textFlow OfficeIMO.Rtf.RtfTableCellTextFlow?
- The value.
public static RtfTableCell TopBorder(RtfTableCell rtfTableCell, Action<RtfTableCellBorder> configure) #Configures RtfTableCell.TopBorder in place: Top cell border.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfTableCellBorder>
- Configures the value.
public static RtfTableCell TopLeftToBottomRightBorder(RtfTableCell rtfTableCell, Action<RtfTableCellBorder> configure) #Configures RtfTableCell.TopLeftToBottomRightBorder in place: Diagonal cell border from top-left to bottom-right.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfTableCellBorder>
- Configures the value.
public static RtfTableCell TopRightToBottomLeftBorder(RtfTableCell rtfTableCell, Action<RtfTableCellBorder> configure) #Configures RtfTableCell.TopRightToBottomLeftBorder in place: Diagonal cell border from top-right to bottom-left.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfTableCellBorder>
- Configures the value.
public static RtfTableCell VerticalAlignment(RtfTableCell rtfTableCell, RtfTableCellVerticalAlignment? value) #Sets RtfTableCell.VerticalAlignment: Vertical alignment for cell content.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value OfficeIMO.Rtf.RtfTableCellVerticalAlignment?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { VerticalAlignment = value }; rtfTableCell.VerticalAlignment(value);public static RtfTableCell VerticalMerge(RtfTableCell rtfTableCell, RtfTableCellMerge value) #Sets RtfTableCell.VerticalMerge: Vertical merge marker.
Parameters
- rtfTableCell OfficeIMO.Rtf.RtfTableCell
- The instance.
- value OfficeIMO.Rtf.RtfTableCellMerge
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfTableCell { VerticalMerge = value }; rtfTableCell.VerticalMerge(value);