# PdfRowBuilder

Builds a horizontal row with explicit column sizing.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfRowBuilder.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L12)

**Modifiers**

sealed

Builds a horizontal row with explicit column sizing.

## Inheritance

- object
- PdfRowBuilder

## Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 8

- Method [PdfRowBuilder.AutoColumn](/api/pdf/officeimo-pdf-pdfrowbuilder/#method-autocolumn-action-officeimo-pdf-pdfcontentbuilder-officeimo-officelength-nullable-officeimo-officelength)
- Method [PdfRowBuilder.Column](/api/pdf/officeimo-pdf-pdfrowbuilder/#method-column-officeimo-pdf-pdfcolumnwidth-action-officeimo-pdf-pdfcontentbuilder)
- Method [PdfRowBuilder.ColumnSeparator](/api/pdf/officeimo-pdf-pdfrowbuilder/#method-columnseparator-officeimo-officecolor-nullable-officeimo-officelength)
- Method [PdfRowBuilder.FixedColumn](/api/pdf/officeimo-pdf-pdfrowbuilder/#method-fixedcolumn-officeimo-officelength-action-officeimo-pdf-pdfcontentbuilder)
- Method [PdfRowBuilder.Gap](/api/pdf/officeimo-pdf-pdfrowbuilder/#method-gap-officeimo-officelength)
- Method [PdfRowBuilder.PercentColumn](/api/pdf/officeimo-pdf-pdfrowbuilder/#method-percentcolumn-double-action-officeimo-pdf-pdfcontentbuilder)
- Method [PdfRowBuilder.RelativeColumn](/api/pdf/officeimo-pdf-pdfrowbuilder/#method-relativecolumn-action-officeimo-pdf-pdfcontentbuilder-double)
- Method [PdfRowBuilder.Style](/api/pdf/officeimo-pdf-pdfrowbuilder/#method-style-officeimo-pdf-pdfrowstyle)

### Accepted by parameters 1

- Method [PdfContentBuilder.Row](/api/pdf/officeimo-pdf-pdfcontentbuilder/#method-row-action-officeimo-pdf-pdfrowbuilder) parameter `build`

Filter members 

Show inherited

## Methods

`public PdfRowBuilder AutoColumn(Action<PdfContentBuilder> build, OfficeLength minimum = default, OfficeLength? maximum = null)` [#](#method-autocolumn-action-officeimo-pdf-pdfcontentbuilder-officeimo-officelength-nullable-officeimo-officelength)

[PdfRowBuilder.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L56)

Adds a content-sized column, optionally constrained in points.

Parameters

**build System.Action<OfficeIMO.Pdf.PdfContentBuilder> required**

**minimum OfficeIMO.OfficeLength = default optional**

**maximum OfficeIMO.OfficeLength? = null optional**

Returns

`PdfRowBuilder`

`public PdfRowBuilder Column(PdfColumnWidth width, Action<PdfContentBuilder> build)` [#](#method-column-officeimo-pdf-pdfcolumnwidth-action-officeimo-pdf-pdfcontentbuilder)

[PdfRowBuilder.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L34)

Adds a column with an explicit sizing strategy. Static elements, semantic groups, and components retain their content.

Parameters

**width OfficeIMO.Pdf.PdfColumnWidth required**

**build System.Action<OfficeIMO.Pdf.PdfContentBuilder> required**

Returns

`PdfRowBuilder`

`public PdfRowBuilder ColumnSeparator(OfficeColor color, OfficeLength? width = null)` [#](#method-columnseparator-officeimo-officecolor-nullable-officeimo-officelength)

[PdfRowBuilder.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L24)

Draws a vertical separator line between columns in this row.

Parameters

**color OfficeIMO.OfficeColor required**

**width OfficeIMO.OfficeLength? = null optional**

Returns

`PdfRowBuilder`

`public PdfRowBuilder FixedColumn(OfficeLength points, Action<PdfContentBuilder> build)` [#](#method-fixedcolumn-officeimo-officelength-action-officeimo-pdf-pdfcontentbuilder)

[PdfRowBuilder.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L52)

Adds a column with an exact width in points.

Parameters

**points OfficeIMO.OfficeLength required**

**build System.Action<OfficeIMO.Pdf.PdfContentBuilder> required**

Returns

`PdfRowBuilder`

`public PdfRowBuilder Gap(OfficeLength points)` [#](#method-gap-officeimo-officelength)

[PdfRowBuilder.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L12)

Sets the horizontal gutter, in points, between columns in this row.

Parameters

**points OfficeIMO.OfficeLength required**

Returns

`PdfRowBuilder`

`public PdfRowBuilder PercentColumn(double percent, Action<PdfContentBuilder> build)` [#](#method-percentcolumn-double-action-officeimo-pdf-pdfcontentbuilder)

[PdfRowBuilder.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L60)

Adds a column that consumes a percentage of available row width.

Parameters

**percent double required**

**build System.Action<OfficeIMO.Pdf.PdfContentBuilder> required**

Returns

`PdfRowBuilder`

`public PdfRowBuilder RelativeColumn(Action<PdfContentBuilder> build, double weight = 1)` [#](#method-relativecolumn-action-officeimo-pdf-pdfcontentbuilder-double)

[PdfRowBuilder.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L48)

Adds a column that receives a weighted share of remaining width.

Parameters

**build System.Action<OfficeIMO.Pdf.PdfContentBuilder> required**

**weight double = 1 optional**

Returns

`PdfRowBuilder`

`public PdfRowBuilder Style(PdfRowStyle style)` [#](#method-style-officeimo-pdf-pdfrowstyle)

[PdfRowBuilder.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Compose/PdfRowBuilder.cs#L18)

Applies row/column layout rhythm for this row.

Parameters

**style OfficeIMO.Pdf.PdfRowStyle required**

Returns

`PdfRowBuilder`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:AE4BBCBF7E3E1AD585C622BEC3953C52FBF8F63A20C753629029C811CCB0EE4C -->
