# PdfTextLayoutOptionsFluent

The fluent methods of PdfTextLayoutOptions, 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 [PdfTextLayoutOptions](/api/pdf/officeimo-pdf-pdftextlayoutoptions/), 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
- PdfTextLayoutOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfTextLayoutOptions BinWidth(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value)` [#](#method-binwidth-officeimo-pdf-pdftextlayoutoptions-officeimo-officelength)

Sets [PdfTextLayoutOptions.BinWidth](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Histogram bin width (points) used for gutter detection. Default: 5.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { BinWidth = value };    pdfTextLayoutOptions.BinWidth(value);
```

`public static PdfTextLayoutOptions ForceSingleColumn(PdfTextLayoutOptions pdfTextLayoutOptions, bool value = true)` [#](#method-forcesinglecolumn-officeimo-pdf-pdftextlayoutoptions-boolean)

Sets [PdfTextLayoutOptions.ForceSingleColumn](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): When true, forces single-column reading order and disables gutter detection. Default: false.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { ForceSingleColumn = value };    pdfTextLayoutOptions.ForceSingleColumn(value);
```

`public static PdfTextLayoutOptions GapGlyphFactor(PdfTextLayoutOptions pdfTextLayoutOptions, double value)` [#](#method-gapglyphfactor-officeimo-pdf-pdftextlayoutoptions-double)

Sets [PdfTextLayoutOptions.GapGlyphFactor](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Threshold as a fraction of previous span's average glyph advance to insert a space. Default: 0.60.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value double required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { GapGlyphFactor = value };    pdfTextLayoutOptions.GapGlyphFactor(value);
```

`public static PdfTextLayoutOptions GapSpaceThresholdEm(PdfTextLayoutOptions pdfTextLayoutOptions, double value)` [#](#method-gapspacethresholdem-officeimo-pdf-pdftextlayoutoptions-double)

Sets [PdfTextLayoutOptions.GapSpaceThresholdEm](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Threshold in em units to insert a space between adjacent spans on the same line. Default: 0.35.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value double required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { GapSpaceThresholdEm = value };    pdfTextLayoutOptions.GapSpaceThresholdEm(value);
```

`public static PdfTextLayoutOptions IgnoreFooterHeight(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value)` [#](#method-ignorefooterheight-officeimo-pdf-pdftextlayoutoptions-officeimo-officelength)

Sets [PdfTextLayoutOptions.IgnoreFooterHeight](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Height from bottom of page (points) to ignore as footer when emitting text. Default: 0.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { IgnoreFooterHeight = value };    pdfTextLayoutOptions.IgnoreFooterHeight(value);
```

`public static PdfTextLayoutOptions IgnoreHeaderHeight(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value)` [#](#method-ignoreheaderheight-officeimo-pdf-pdftextlayoutoptions-officeimo-officelength)

Sets [PdfTextLayoutOptions.IgnoreHeaderHeight](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Height from top of page (points) to ignore as header when emitting text. Default: 0.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { IgnoreHeaderHeight = value };    pdfTextLayoutOptions.IgnoreHeaderHeight(value);
```

`public static PdfTextLayoutOptions JoinSoftHyphensAcrossLines(PdfTextLayoutOptions pdfTextLayoutOptions, bool value = true)` [#](#method-joinsofthyphensacrosslines-officeimo-pdf-pdftextlayoutoptions-boolean)

Sets [PdfTextLayoutOptions.JoinSoftHyphensAcrossLines](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): When true, removes an explicit soft hyphen before a line break. Visible hyphens are preserved because PDF layout and letter case cannot prove that they are discretionary. Default: false.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { JoinSoftHyphensAcrossLines = value };    pdfTextLayoutOptions.JoinSoftHyphensAcrossLines(value);
```

`public static PdfTextLayoutOptions LineMergeMax(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value)` [#](#method-linemergemax-officeimo-pdf-pdftextlayoutoptions-officeimo-officelength)

Sets [PdfTextLayoutOptions.LineMergeMax](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Maximum absolute baseline-normal delta for ordinary line clustering. Default: 2.5 points. With both merge limits at least their defaults, adjacent smaller-font scripts may attach to a unique base line; a stricter value retains baseline-only grouping.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { LineMergeMax = value };    pdfTextLayoutOptions.LineMergeMax(value);
```

`public static PdfTextLayoutOptions LineMergeToleranceEm(PdfTextLayoutOptions pdfTextLayoutOptions, double value)` [#](#method-linemergetoleranceem-officeimo-pdf-pdftextlayoutoptions-double)

Sets [PdfTextLayoutOptions.LineMergeToleranceEm](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Maximum baseline-normal delta in font-size em units for ordinary line clustering. Default: 0.6. A stricter value disables conservative inline-script attachment.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value double required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { LineMergeToleranceEm = value };    pdfTextLayoutOptions.LineMergeToleranceEm(value);
```

`public static PdfTextLayoutOptions MarginLeft(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value)` [#](#method-marginleft-officeimo-pdf-pdftextlayoutoptions-officeimo-officelength)

Sets [PdfTextLayoutOptions.MarginLeft](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Left page margin in points used when inferring column bounds. Default: 36.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { MarginLeft = value };    pdfTextLayoutOptions.MarginLeft(value);
```

`public static PdfTextLayoutOptions MarginRight(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value)` [#](#method-marginright-officeimo-pdf-pdftextlayoutoptions-officeimo-officelength)

Sets [PdfTextLayoutOptions.MarginRight](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Right page margin in points used when inferring column bounds. Default: 36.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { MarginRight = value };    pdfTextLayoutOptions.MarginRight(value);
```

`public static PdfTextLayoutOptions MinGutterWidth(PdfTextLayoutOptions pdfTextLayoutOptions, OfficeLength value)` [#](#method-mingutterwidth-officeimo-pdf-pdftextlayoutoptions-officeimo-officelength)

Sets [PdfTextLayoutOptions.MinGutterWidth](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Minimum detected gutter width (points) to consider a two-column layout. Default: 24.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value OfficeIMO.OfficeLength required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { MinGutterWidth = value };    pdfTextLayoutOptions.MinGutterWidth(value);
```

`public static PdfTextLayoutOptions ReadingDirection(PdfTextLayoutOptions pdfTextLayoutOptions, PdfReadingDirection value)` [#](#method-readingdirection-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfreadingdirection)

Sets [PdfTextLayoutOptions.ReadingDirection](/api/pdf/officeimo-pdf-pdftextlayoutoptions/): Horizontal reading direction used for words and column partitions. Default: Auto.

Parameters

**pdfTextLayoutOptions OfficeIMO.Pdf.PdfTextLayoutOptions required**

The instance.

**value OfficeIMO.Pdf.PdfReadingDirection required**

The value.

Returns

`PdfTextLayoutOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfTextLayoutOptions { ReadingDirection = value };    pdfTextLayoutOptions.ReadingDirection(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:68A47A541CF8B70572DA9E4C12C219BA9B3A1DCE3B07075B941674C562551377 -->
