Skip to content

# PDFFlowTableRow

Namespace: O2S.Components.PDF4NET.FlowDocument

Defines the base class for rows in a table.

    public class PDFFlowTableRow

Inheritance Object → PDFFlowTableRow

## Constructors

### PDFFlowTableRow()

Initializes a new PDFFlowTableRow object.

    public PDFFlowTableRow()

### PDFFlowTableRow(Object[])

Initializes a new PDFFlowTableRow object.

    public PDFFlowTableRow(Object[] cellContents)

Parameters

`cellContents` Object[]
A variable number of strings

Remarks

This constructor creates a row object and populates it with PDFFlowTableStringCell objects, one for each object passed as parameter.

## Properties

### Background

Gets or sets the row background.

    public PDFBrush Background { get; set; }

Property Value

PDFBrush
A PDFBrush object that specifies how the row background is filled.

### Cells

Gets the row cells.

    public PDFFlowTableCellCollection Cells { get; }

Property Value

PDFFlowTableCellCollection
The collection of cells included in the row.

### EnableRowSplit

Gets or sets a value indicating whether the row may be split if the space at the bottom cannot accomodate the full row.

    public bool EnableRowSplit { get; set; }

Property Value

Boolean
Default true, the row may be split if its content supports spliting. If false the row will not be split.

### MaxHeight

Gets or sets the maximum row height.

    public double MaxHeight { get; set; }

Property Value

Double
The maximum row height.

Remarks

The maximum row height sets the row height when the cells maximum height exceeds this value. If the height of row content exceeds this value, the content will be clipped. If this property is 0 then the row height is given by the maximum cell height.

### MinHeight

Gets or sets the minimum row height.

    public double MinHeight { get; set; }

Property Value

Double
The minimum row height.

Remarks

The minimum row height sets the row height when the cells maximum height is less than this value. If this property is 0 then the row height is given by the maximum cell height.

### StructureElement

Gets or sets the structure element.

    public PDFStructureElement StructureElement { get; set; }

Property Value

PDFStructureElement
The PDFStructureElement object associated with this row object.

### Table

Gets the table this row belongs to.

    public PDFFlowTableContent Table { get; internal set; }

Property Value

PDFFlowTableContent
the table that includes this row.