# PdfRowStyleFluent

The fluent methods of PdfRowStyle, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfRowStyle](/api/pdf/officeimo-pdf-pdfrowstyle/), 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
- PdfRowStyleFluent

Filter members 

Show inherited

## Methods

`public static PdfRowStyle ColumnSeparatorColor(PdfRowStyle pdfRowStyle, OfficeColor? value)` [#](#method-columnseparatorcolor-officeimo-pdf-pdfrowstyle-nullable-officeimo-officecolor)

Sets [PdfRowStyle.ColumnSeparatorColor](/api/pdf/officeimo-pdf-pdfrowstyle/): Optional vertical separator color drawn between row columns.

Parameters

**pdfRowStyle OfficeIMO.Pdf.PdfRowStyle required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`PdfRowStyle` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { ColumnSeparatorColor = value };    pdfRowStyle.ColumnSeparatorColor(value);
```

`public static PdfRowStyle ColumnSeparatorWidth(PdfRowStyle pdfRowStyle, OfficeLength value)` [#](#method-columnseparatorwidth-officeimo-pdf-pdfrowstyle-officeimo-officelength)

Sets [PdfRowStyle.ColumnSeparatorWidth](/api/pdf/officeimo-pdf-pdfrowstyle/): Vertical separator line width, in points. A non-positive width disables separator drawing.

Parameters

**pdfRowStyle OfficeIMO.Pdf.PdfRowStyle required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfRowStyle` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { ColumnSeparatorWidth = value };    pdfRowStyle.ColumnSeparatorWidth(value);
```

`public static PdfRowStyle Gap(PdfRowStyle pdfRowStyle, OfficeLength? value)` [#](#method-gap-officeimo-pdf-pdfrowstyle-nullable-officeimo-officelength)

Sets [PdfRowStyle.Gap](/api/pdf/officeimo-pdf-pdfrowstyle/): Horizontal gutter between row columns, in points. When null the row uses its explicit gap or the built-in Word-like gutter.

Parameters

**pdfRowStyle OfficeIMO.Pdf.PdfRowStyle required**

The instance.

**value OfficeIMO.OfficeLength? required**

The value.

Returns

`PdfRowStyle` The same instance.

Examples

```csharp
// C# initializer or property                             // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { Gap = value };    pdfRowStyle.Gap(value);
```

`public static PdfRowStyle KeepTogether(PdfRowStyle pdfRowStyle, bool value = true)` [#](#method-keeptogether-officeimo-pdf-pdfrowstyle-boolean)

Sets [PdfRowStyle.KeepTogether](/api/pdf/officeimo-pdf-pdfrowstyle/): When true, the row moves to the next page instead of splitting across pages.

Parameters

**pdfRowStyle OfficeIMO.Pdf.PdfRowStyle required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRowStyle` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { KeepTogether = value };    pdfRowStyle.KeepTogether(value);
```

`public static PdfRowStyle KeepWithNext(PdfRowStyle pdfRowStyle, bool value = true)` [#](#method-keepwithnext-officeimo-pdf-pdfrowstyle-boolean)

Sets [PdfRowStyle.KeepWithNext](/api/pdf/officeimo-pdf-pdfrowstyle/): When true, the row moves with the first visible part of the following block when they fit together.

Parameters

**pdfRowStyle OfficeIMO.Pdf.PdfRowStyle required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfRowStyle` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { KeepWithNext = value };    pdfRowStyle.KeepWithNext(value);
```

`public static PdfRowStyle SpacingAfter(PdfRowStyle pdfRowStyle, OfficeLength value)` [#](#method-spacingafter-officeimo-pdf-pdfrowstyle-officeimo-officelength)

Sets [PdfRowStyle.SpacingAfter](/api/pdf/officeimo-pdf-pdfrowstyle/): Vertical space after the row, in points.

Parameters

**pdfRowStyle OfficeIMO.Pdf.PdfRowStyle required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfRowStyle` The same instance.

Examples

```csharp
// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { SpacingAfter = value };    pdfRowStyle.SpacingAfter(value);
```

`public static PdfRowStyle SpacingBefore(PdfRowStyle pdfRowStyle, OfficeLength value)` [#](#method-spacingbefore-officeimo-pdf-pdfrowstyle-officeimo-officelength)

Sets [PdfRowStyle.SpacingBefore](/api/pdf/officeimo-pdf-pdfrowstyle/): Vertical space before the row, in points.

Parameters

**pdfRowStyle OfficeIMO.Pdf.PdfRowStyle required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfRowStyle` The same instance.

Examples

```csharp
// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfRowStyle { SpacingBefore = value };    pdfRowStyle.SpacingBefore(value);
```

## 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:4CEA14585A53886356D4F596FFEBB48ABCA7F16E728FA12A3785EDC85DA69391 -->
