Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTableStyleFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfTableStyle, 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
  • PdfTableStyleFluent

Methods

public static TSelf Alignments<TSelf>(TSelf pdfTableStyle, IEnumerable<OfficeAlignment> items) #

Adds items to PdfTableStyle.Alignments: Optional per-column alignment; defaults to Left.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeAlignment> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf Alignment<TSelf>(TSelf pdfTableStyle, OfficeAlignment item) #

Adds an item to PdfTableStyle.Alignments: Optional per-column alignment; defaults to Left.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item OfficeIMO.OfficeAlignment required
The item.

Returns

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

Sets PdfTableStyle.AllowRowBreakAcrossPages: When true, a single row that is taller than the page frame may split across pages by wrapped text line.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { AllowRowBreakAcrossPages = value };    pdfTableStyle.AllowRowBreakAcrossPages(value);
public static TSelf AlternativeText<TSelf>(TSelf pdfTableStyle, string? value) #

Sets PdfTableStyle.AlternativeText: Optional alternate text attached to the tagged PDF table structure. This is not rendered visibly.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { AlternativeText = value };    pdfTableStyle.AlternativeText(value);
public static TSelf AutoFitColumns<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.AutoFitColumns: When true, flexible column widths are weighted from measured table content using OfficeIMO.Drawing.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { AutoFitColumns = value };    pdfTableStyle.AutoFitColumns(value);
public static TSelf BodyColumnFills<TSelf>(TSelf pdfTableStyle, IEnumerable<OfficeColor?> items) #

Adds items to PdfTableStyle.BodyColumnFills: Optional per-column background fills for body rows. Null or missing entries use the row fill.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeColor?> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf BodyColumnFill<TSelf>(TSelf pdfTableStyle, OfficeColor? item) #

Adds an item to PdfTableStyle.BodyColumnFills: Optional per-column background fills for body rows. Null or missing entries use the row fill.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item OfficeIMO.OfficeColor? required
The item.

Returns

TSelf The same instance.
public static TSelf BorderColor<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.BorderColor: Color of the table borders and cell grid lines. Set to null to hide borders.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { BorderColor = value };    pdfTableStyle.BorderColor(value);
public static TSelf BorderWidth<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.BorderWidth: Stroke width, as a physical length, for table borders and cell grid lines.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { BorderWidth = value };    pdfTableStyle.BorderWidth(value);
public static TSelf CaptionAlign<TSelf>(TSelf pdfTableStyle, OfficeAlignment value) #

Sets PdfTableStyle.CaptionAlign: Caption alignment inside the rendered table width.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeAlignment required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CaptionAlign = value };    pdfTableStyle.CaptionAlign(value);
public static TSelf CaptionColor<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.CaptionColor: Caption text color. When null the writer's default text color is used.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CaptionColor = value };    pdfTableStyle.CaptionColor(value);
public static TSelf CaptionFontSize<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.CaptionFontSize: Caption font size as a physical length. When null the document default font size is used.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CaptionFontSize = value };    pdfTableStyle.CaptionFontSize(value);
public static TSelf CaptionSpacingAfter<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.CaptionSpacingAfter: Vertical space between the caption and table grid, as a physical length.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CaptionSpacingAfter = value };    pdfTableStyle.CaptionSpacingAfter(value);
public static TSelf Caption<TSelf>(TSelf pdfTableStyle, string? value) #

Sets PdfTableStyle.Caption: Optional text rendered above the table grid as part of the table flow.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value string? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { Caption = value };    pdfTableStyle.Caption(value);
public static TSelf CellAlignments<TSelf>(TSelf pdfTableStyle, Dictionary<ValueTuple<int, int>, OfficeAlignment>? value) #

Sets PdfTableStyle.CellAlignments: Optional per-cell horizontal alignment overrides keyed by zero-based row and column.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value System.Collections.Generic.Dictionary<System.ValueTuple<int, int>, OfficeIMO.OfficeAlignment>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellAlignments = value };    pdfTableStyle.CellAlignments(value);
public static TSelf CellBorders<TSelf>(TSelf pdfTableStyle, Dictionary<ValueTuple<int, int>, PdfCellBorder>? value) #

Sets PdfTableStyle.CellBorders: Optional side-specific per-cell border overrides keyed by zero-based row and column.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value System.Collections.Generic.Dictionary<System.ValueTuple<int, int>, OfficeIMO.Pdf.PdfCellBorder>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellBorders = value };    pdfTableStyle.CellBorders(value);
public static TSelf CellDataBars<TSelf>(TSelf pdfTableStyle, Dictionary<ValueTuple<int, int>, PdfCellDataBar>? value) #

Sets PdfTableStyle.CellDataBars: Optional proportional bars drawn inside cells, behind cell text, keyed by zero-based row and column.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value System.Collections.Generic.Dictionary<System.ValueTuple<int, int>, OfficeIMO.Pdf.PdfCellDataBar>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellDataBars = value };    pdfTableStyle.CellDataBars(value);
public static TSelf CellFills<TSelf>(TSelf pdfTableStyle, Dictionary<ValueTuple<int, int>, OfficeColor>? value) #

Sets PdfTableStyle.CellFills: Optional absolute per-cell background fills keyed by zero-based row and column.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value System.Collections.Generic.Dictionary<System.ValueTuple<int, int>, OfficeIMO.OfficeColor>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellFills = value };    pdfTableStyle.CellFills(value);
public static TSelf CellHeaderScopes<TSelf>(TSelf pdfTableStyle, Dictionary<ValueTuple<int, int>, PdfCanvasTableHeaderScope>? value) #

Sets PdfTableStyle.CellHeaderScopes: Additional tagged header cells keyed by zero-based table row and column. These scopes affect PDF structure only; visual header styling and repetition still follow HeaderRowCount and RepeatHeaderRowCount.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value System.Collections.Generic.Dictionary<System.ValueTuple<int, int>, OfficeIMO.Pdf.PdfCanvasTableHeaderScope>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellHeaderScopes = value };    pdfTableStyle.CellHeaderScopes(value);
public static TSelf CellIcons<TSelf>(TSelf pdfTableStyle, Dictionary<ValueTuple<int, int>, PdfCellIcon>? value) #

Sets PdfTableStyle.CellIcons: Optional small vector icons drawn inside cells before cell text, keyed by zero-based row and column.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value System.Collections.Generic.Dictionary<System.ValueTuple<int, int>, OfficeIMO.Pdf.PdfCellIcon>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellIcons = value };    pdfTableStyle.CellIcons(value);
public static TSelf CellPaddingBottom<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.CellPaddingBottom: Optional bottom padding override inside each cell, as a physical length. When null PdfTableStyle.CellPaddingY is used.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellPaddingBottom = value };    pdfTableStyle.CellPaddingBottom(value);
public static TSelf CellPaddingLeft<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.CellPaddingLeft: Optional left padding override inside each cell, as a physical length. When null PdfTableStyle.CellPaddingX is used.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellPaddingLeft = value };    pdfTableStyle.CellPaddingLeft(value);
public static TSelf CellPaddingRight<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.CellPaddingRight: Optional right padding override inside each cell, as a physical length. When null PdfTableStyle.CellPaddingX is used.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellPaddingRight = value };    pdfTableStyle.CellPaddingRight(value);
public static TSelf CellPaddings<TSelf>(TSelf pdfTableStyle, Dictionary<ValueTuple<int, int>, PdfCellPadding>? value) #

Sets PdfTableStyle.CellPaddings: Optional per-cell padding overrides keyed by zero-based row and column.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value System.Collections.Generic.Dictionary<System.ValueTuple<int, int>, OfficeIMO.Pdf.PdfCellPadding>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellPaddings = value };    pdfTableStyle.CellPaddings(value);
public static TSelf CellPaddingTop<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.CellPaddingTop: Optional top padding override inside each cell, as a physical length. When null PdfTableStyle.CellPaddingY is used.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellPaddingTop = value };    pdfTableStyle.CellPaddingTop(value);
public static TSelf CellPaddingX<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.CellPaddingX: Horizontal padding inside each cell, as a physical length.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellPaddingX = value };    pdfTableStyle.CellPaddingX(value);
public static TSelf CellPaddingY<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.CellPaddingY: Vertical padding inside each cell, as a physical length.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellPaddingY = value };    pdfTableStyle.CellPaddingY(value);
public static TSelf CellSpacing<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.CellSpacing: Optional spacing between adjacent table cells, as a physical length.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellSpacing = value };    pdfTableStyle.CellSpacing(value);
public static TSelf CellVerticalAlignments<TSelf>(TSelf pdfTableStyle, Dictionary<ValueTuple<int, int>, PdfCellVerticalAlign>? value) #

Sets PdfTableStyle.CellVerticalAlignments: Optional per-cell vertical alignment overrides keyed by zero-based row and column.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value System.Collections.Generic.Dictionary<System.ValueTuple<int, int>, OfficeIMO.Pdf.PdfCellVerticalAlign>? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CellVerticalAlignments = value };    pdfTableStyle.CellVerticalAlignments(value);
public static TSelf ColumnMaxWidths<TSelf>(TSelf pdfTableStyle, IEnumerable<OfficeLength?> items) #

Adds items to PdfTableStyle.ColumnMaxWidths: Optional maximum column widths as a physical length. Null or missing entries have no explicit maximum.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeLength?> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf ColumnMaxWidth<TSelf>(TSelf pdfTableStyle, OfficeLength? item) #

Adds an item to PdfTableStyle.ColumnMaxWidths: Optional maximum column widths as a physical length. Null or missing entries have no explicit maximum.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item OfficeIMO.OfficeLength? required
The item.

Returns

TSelf The same instance.
public static TSelf ColumnMinWidths<TSelf>(TSelf pdfTableStyle, IEnumerable<OfficeLength?> items) #

Adds items to PdfTableStyle.ColumnMinWidths: Optional minimum column widths as a physical length. Null or missing entries have no explicit minimum.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeLength?> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf ColumnMinWidth<TSelf>(TSelf pdfTableStyle, OfficeLength? item) #

Adds an item to PdfTableStyle.ColumnMinWidths: Optional minimum column widths as a physical length. Null or missing entries have no explicit minimum.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item OfficeIMO.OfficeLength? required
The item.

Returns

TSelf The same instance.
public static TSelf ColumnWidths<TSelf>(TSelf pdfTableStyle, IEnumerable<OfficeLength?> items) #

Adds items to PdfTableStyle.ColumnWidths: Optional fixed column widths as a physical length. Null or missing entries are sized by relative weights.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeLength?> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf ColumnWidthWeights<TSelf>(TSelf pdfTableStyle, IEnumerable<double> items) #

Adds items to PdfTableStyle.ColumnWidthWeights: Optional relative column width weights. Missing columns default to 1.0.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<double> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf ColumnWidthWeight<TSelf>(TSelf pdfTableStyle, double item) #

Adds an item to PdfTableStyle.ColumnWidthWeights: Optional relative column width weights. Missing columns default to 1.0.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item double required
The item.

Returns

TSelf The same instance.
public static TSelf ColumnWidth<TSelf>(TSelf pdfTableStyle, OfficeLength? item) #

Adds an item to PdfTableStyle.ColumnWidths: Optional fixed column widths as a physical length. Null or missing entries are sized by relative weights.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item OfficeIMO.OfficeLength? required
The item.

Returns

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

Sets PdfTableStyle.ConsumesVerticalFlow: Whether the table advances the vertical flow cursor. Set to false for a positioned table that overlays the following flow; the table is still drawn at the current cursor position.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { ConsumesVerticalFlow = value };    pdfTableStyle.ConsumesVerticalFlow(value);
public static TSelf CornerRadius<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.CornerRadius: Corner radius, as a physical length, for the table's outer box. Zero (the default) keeps square corners. The rounding is applied to the outer perimeter only: the top corners of the first row and the bottom corners of the last row are rounded, while interior grid lines stay straight. Cell fills and per-cell border overrides (for example an accent stripe or a top-accent bar) are clipped to the rounded outer box so they follow the curve instead of overrunning it. Most useful for single-row / single-cell tables such as callouts and stat cards.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { CornerRadius = value };    pdfTableStyle.CornerRadius(value);
public static TSelf FixedRowHeights<TSelf>(TSelf pdfTableStyle, IEnumerable<OfficeLength?> items) #

Adds items to PdfTableStyle.FixedRowHeights: Optional per-row fixed heights as a physical length. Null entries use content-driven row sizing and minimum row heights.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeLength?> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf FixedRowHeight<TSelf>(TSelf pdfTableStyle, OfficeLength? item) #

Adds an item to PdfTableStyle.FixedRowHeights: Optional per-row fixed heights as a physical length. Null entries use content-driven row sizing and minimum row heights.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item OfficeIMO.OfficeLength? required
The item.

Returns

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

Sets PdfTableStyle.FontSize: Font size for body cells, as a physical length. When null the document default font size is used.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { FontSize = value };    pdfTableStyle.FontSize(value);
public static TSelf FooterBold<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.FooterBold: When true, footer cells use the bold variant of the document font family.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { FooterBold = value };    pdfTableStyle.FooterBold(value);
public static TSelf FooterFill<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.FooterFill: Background fill color for footer rows. Set to null for no fill.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { FooterFill = value };    pdfTableStyle.FooterFill(value);
public static TSelf FooterFontSize<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.FooterFontSize: Font size for footer cells, as a physical length. When null the body table font size is used.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { FooterFontSize = value };    pdfTableStyle.FooterFontSize(value);
public static TSelf FooterRowCount<TSelf>(TSelf pdfTableStyle, int value) #

Sets PdfTableStyle.FooterRowCount: Number of trailing rows to render as table footers. Defaults to 0.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value int required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { FooterRowCount = value };    pdfTableStyle.FooterRowCount(value);
public static TSelf FooterSeparatorColor<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.FooterSeparatorColor: Optional horizontal separator color used above footer rows. Falls back to PdfTableStyle.RowSeparatorColor when null.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { FooterSeparatorColor = value };    pdfTableStyle.FooterSeparatorColor(value);
public static TSelf FooterSeparatorWidth<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.FooterSeparatorWidth: Optional stroke width, as a physical length, used above footer rows. Falls back to PdfTableStyle.RowSeparatorWidth when zero.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { FooterSeparatorWidth = value };    pdfTableStyle.FooterSeparatorWidth(value);
public static TSelf FooterTextColor<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.FooterTextColor: Text color for footer cells. When null the writer’s default text color is used.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { FooterTextColor = value };    pdfTableStyle.FooterTextColor(value);
public static TSelf HeaderBold<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.HeaderBold: When true, header cells use the bold variant of the document font family.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { HeaderBold = value };    pdfTableStyle.HeaderBold(value);
public static TSelf HeaderFill<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.HeaderFill: Background fill color for the header row. Set to null for no fill.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { HeaderFill = value };    pdfTableStyle.HeaderFill(value);
public static TSelf HeaderFontSize<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.HeaderFontSize: Font size for header cells, as a physical length. When null the body table font size is used.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { HeaderFontSize = value };    pdfTableStyle.HeaderFontSize(value);
public static TSelf HeaderRowCount<TSelf>(TSelf pdfTableStyle, int value) #

Sets PdfTableStyle.HeaderRowCount: Number of leading rows to render as table headers. Defaults to 1.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value int required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { HeaderRowCount = value };    pdfTableStyle.HeaderRowCount(value);
public static TSelf HeaderSeparatorColor<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.HeaderSeparatorColor: Optional horizontal separator color used below header rows. Falls back to PdfTableStyle.RowSeparatorColor when null.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { HeaderSeparatorColor = value };    pdfTableStyle.HeaderSeparatorColor(value);
public static TSelf HeaderSeparatorWidth<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.HeaderSeparatorWidth: Optional stroke width, as a physical length, used below header rows. Falls back to PdfTableStyle.RowSeparatorWidth when zero.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { HeaderSeparatorWidth = value };    pdfTableStyle.HeaderSeparatorWidth(value);
public static TSelf HeaderTextColor<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.HeaderTextColor: Text color for header cells. When null the writer’s default text color is used.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { HeaderTextColor = value };    pdfTableStyle.HeaderTextColor(value);
public static TSelf HorizontalOffset<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.HorizontalOffset: Additional horizontal translation after table alignment or floating placement, as a physical length. Positive values move the table right. This does not change its available width or vertical flow.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { HorizontalOffset = value };    pdfTableStyle.HorizontalOffset(value);
public static TSelf KeepTogether<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.KeepTogether: When true, the table moves as a unit instead of splitting across pages when it fits in the page frame.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { KeepTogether = value };    pdfTableStyle.KeepTogether(value);
public static TSelf KeepWithNext<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.KeepWithNext: When true, the table moves with the first visible part of the following block when they fit together. A positioned table placed at the flow position moves to the next page when the following block cannot start beside it.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { KeepWithNext = value };    pdfTableStyle.KeepWithNext(value);
public static TSelf LeftIndent<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.LeftIndent: Left indentation before table placement, as a physical length. Negative values extend the table into the leading margin.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { LeftIndent = value };    pdfTableStyle.LeftIndent(value);
public static TSelf LineHeight<TSelf>(TSelf pdfTableStyle, double? value) #

Sets PdfTableStyle.LineHeight: Line advance multiplier for wrapped cell text. When null the writer uses the default table line height.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value double? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { LineHeight = value };    pdfTableStyle.LineHeight(value);
public static TSelf MaxWidth<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.MaxWidth: Optional maximum rendered table width, as a physical length. When null the table uses the available frame width.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { MaxWidth = value };    pdfTableStyle.MaxWidth(value);
public static TSelf MinimumBodyRowsOnFirstPage<TSelf>(TSelf pdfTableStyle, int value) #

Sets PdfTableStyle.MinimumBodyRowsOnFirstPage: Minimum number of body rows kept with leading header rows when a table starts on a partially occupied page and the group fits on one page. Repeated header rows always stay with at least the first fragment of the following body row, so a long row splits instead of leaving the header alone at the bottom of a page. Set to zero to keep only that fragment with the header. Defaults to two.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value int required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { MinimumBodyRowsOnFirstPage = value };    pdfTableStyle.MinimumBodyRowsOnFirstPage(value);
public static TSelf MinimumBodyRowsOnLastPage<TSelf>(TSelf pdfTableStyle, int value) #

Sets PdfTableStyle.MinimumBodyRowsOnLastPage: Minimum number of body rows kept with trailing footer rows on the table's final page when the group fits on one page. Set to zero to disable this pagination constraint. Defaults to two.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value int required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { MinimumBodyRowsOnLastPage = value };    pdfTableStyle.MinimumBodyRowsOnLastPage(value);
public static TSelf MinimumShrinkFontSize<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.MinimumShrinkFontSize: Smallest font size, as a physical length, used by row or cell text shrinking. When null the writer uses 6 points.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { MinimumShrinkFontSize = value };    pdfTableStyle.MinimumShrinkFontSize(value);
public static TSelf MinRowHeight<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.MinRowHeight: Optional minimum row height as a physical length. Set to 0 to size rows from wrapped content.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { MinRowHeight = value };    pdfTableStyle.MinRowHeight(value);
public static TSelf PageContinuationSpacingBefore<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.PageContinuationSpacingBefore: Vertical space to reserve before table content when the same table continues on a new page.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { PageContinuationSpacingBefore = value };    pdfTableStyle.PageContinuationSpacingBefore(value);
PageSummary``1 2 overloads
public static TSelf PageSummary<TSelf>(TSelf pdfTableStyle, PdfTablePageSummary? value) #

Sets PdfTableStyle.PageSummary: Optional per-page aggregates and summary rows, such as page subtotals and brought-forward or carried-forward amounts. Applies to flow tables; deferred, positioned and nested tables reject it.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.Pdf.PdfTablePageSummary? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { PageSummary = value };    pdfTableStyle.PageSummary(value);
public static TSelf PageSummary<TSelf>(TSelf pdfTableStyle, Action<PdfTablePageSummary> configure) #

Configures PdfTableStyle.PageSummary in place (creating it when not set): Optional per-page aggregates and summary rows, such as page subtotals and brought-forward or carried-forward amounts. Applies to flow tables; deferred, positioned and nested tables reject it.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
configure System.Action<OfficeIMO.Pdf.PdfTablePageSummary> required
Configures the value.

Returns

TSelf The same instance.
public static TSelf Position<TSelf>(TSelf pdfTableStyle, PdfTablePosition? value) #

Sets PdfTableStyle.Position: Optional floating placement. A positioned table reserves space for surrounding text without advancing the flow cursor.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.Pdf.PdfTablePosition? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { Position = value };    pdfTableStyle.Position(value);
public static TSelf PreferredWidth<TSelf>(TSelf pdfTableStyle, OfficeLength? value) #

Sets PdfTableStyle.PreferredWidth: Optional preferred rendered table width, as a physical length. Auto-fit tables may expand beyond this width to satisfy measured content, up to PdfTableStyle.MaxWidth or the available frame width.

Type Parameters

TSelf

Parameters

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

Returns

TSelf The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { PreferredWidth = value };    pdfTableStyle.PreferredWidth(value);
public static TSelf PreserveWidth<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.PreserveWidth: When true, the resolved table frame width is preserved even if measured columns would otherwise shrink to their content.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { PreserveWidth = value };    pdfTableStyle.PreserveWidth(value);
public static TSelf RepeatFooterRows<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.RepeatFooterRows: When true, the table's trailing footer rows (PdfTableStyle.FooterRowCount) close every page fragment of a table that splits across pages, not only the last one. Defaults to false.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { RepeatFooterRows = value };    pdfTableStyle.RepeatFooterRows(value);
public static TSelf RepeatHeaderRowCount<TSelf>(TSelf pdfTableStyle, int? value) #

Sets PdfTableStyle.RepeatHeaderRowCount: Number of leading header rows to repeat on following pages. When null, all configured header rows repeat.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value int? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { RepeatHeaderRowCount = value };    pdfTableStyle.RepeatHeaderRowCount(value);
public static TSelf RightAlignNumeric<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.RightAlignNumeric: When true, cell values that look numeric are right-aligned automatically.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { RightAlignNumeric = value };    pdfTableStyle.RightAlignNumeric(value);
public static TSelf RowAllowBreakAcrossPages<TSelf>(TSelf pdfTableStyle, IEnumerable<bool?> items) #

Adds items to PdfTableStyle.RowAllowBreakAcrossPages: Optional per-row row-break overrides. Null entries fall back to PdfTableStyle.AllowRowBreakAcrossPages.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<bool?> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf RowAllowBreakAcrossPage<TSelf>(TSelf pdfTableStyle, bool? item) #

Adds an item to PdfTableStyle.RowAllowBreakAcrossPages: Optional per-row row-break overrides. Null entries fall back to PdfTableStyle.AllowRowBreakAcrossPages.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item bool? required
The item.

Returns

TSelf The same instance.
public static TSelf RowBaselineOffset<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.RowBaselineOffset: Baseline adjustment as a physical length to fine-tune text vertical placement.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { RowBaselineOffset = value };    pdfTableStyle.RowBaselineOffset(value);
public static TSelf RowMinHeights<TSelf>(TSelf pdfTableStyle, IEnumerable<OfficeLength?> items) #

Adds items to PdfTableStyle.RowMinHeights: Optional per-row minimum heights as a physical length. Null entries fall back to PdfTableStyle.MinRowHeight.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.OfficeLength?> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf RowMinHeight<TSelf>(TSelf pdfTableStyle, OfficeLength? item) #

Adds an item to PdfTableStyle.RowMinHeights: Optional per-row minimum heights as a physical length. Null entries fall back to PdfTableStyle.MinRowHeight.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item OfficeIMO.OfficeLength? required
The item.

Returns

TSelf The same instance.
public static TSelf RowSeparatorColor<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.RowSeparatorColor: Optional horizontal separator color drawn at the bottom of each table row. Set to null or zero width to disable.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { RowSeparatorColor = value };    pdfTableStyle.RowSeparatorColor(value);
public static TSelf RowSeparatorWidth<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.RowSeparatorWidth: Stroke width, as a physical length, for row separators.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { RowSeparatorWidth = value };    pdfTableStyle.RowSeparatorWidth(value);
public static TSelf RowStripeFill<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.RowStripeFill: Optional alternating row fill color (applied to every other body row). Set to null to disable.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { RowStripeFill = value };    pdfTableStyle.RowStripeFill(value);
public static TSelf ShrinkTextToFit<TSelf>(TSelf pdfTableStyle, bool value = true) #

Sets PdfTableStyle.ShrinkTextToFit: When true, table rows can reduce their font size to keep cell text within the resolved cell width.

Type Parameters

TSelf

Parameters

pdfTableStyle 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
new global::OfficeIMO.Pdf.PdfTableStyle { ShrinkTextToFit = value };    pdfTableStyle.ShrinkTextToFit(value);
public static TSelf SpacingAfter<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.SpacingAfter: Vertical space after the table, as a physical length.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { SpacingAfter = value };    pdfTableStyle.SpacingAfter(value);
public static TSelf SpacingBefore<TSelf>(TSelf pdfTableStyle, OfficeLength value) #

Sets PdfTableStyle.SpacingBefore: Vertical space before the table, as a physical length.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { SpacingBefore = value };    pdfTableStyle.SpacingBefore(value);
public static TSelf TextColor<TSelf>(TSelf pdfTableStyle, OfficeColor? value) #

Sets PdfTableStyle.TextColor: Text color for body rows. When null the writer’s default text color is used.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTableStyle { TextColor = value };    pdfTableStyle.TextColor(value);
public static TSelf VerticalAlignments<TSelf>(TSelf pdfTableStyle, IEnumerable<PdfCellVerticalAlign> items) #

Adds items to PdfTableStyle.VerticalAlignments: Optional per-column vertical alignment; defaults to Top.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
items System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfCellVerticalAlign> required
The items, in order.

Returns

TSelf The same instance.
public static TSelf VerticalAlignment<TSelf>(TSelf pdfTableStyle, PdfCellVerticalAlign item) #

Adds an item to PdfTableStyle.VerticalAlignments: Optional per-column vertical alignment; defaults to Top.

Type Parameters

TSelf

Parameters

pdfTableStyle TSelf required
The instance.
item OfficeIMO.Pdf.PdfCellVerticalAlign required
The item.

Returns

TSelf The same instance.