# PdfLayoutDebugOverlayOptionsFluent

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

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfLayoutDebugOverlayOptions](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/), 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
- PdfLayoutDebugOverlayOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfLayoutDebugOverlayOptions LineColor(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, OfficeColor value)` [#](#method-linecolor-officeimo-pdf-pdflayoutdebugoverlayoptions-officeimo-officecolor)

Sets [PdfLayoutDebugOverlayOptions.LineColor](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Line-box color.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value OfficeIMO.OfficeColor required**

The value.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { LineColor = value };    pdfLayoutDebugOverlayOptions.LineColor(value);
```

`public static PdfLayoutDebugOverlayOptions MaxElements(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, int value)` [#](#method-maxelements-officeimo-pdf-pdflayoutdebugoverlayoptions-int32)

Sets [PdfLayoutDebugOverlayOptions.MaxElements](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Maximum boxes and labels added to one overlay.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value int required**

The value.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { MaxElements = value };    pdfLayoutDebugOverlayOptions.MaxElements(value);
```

`public static PdfLayoutDebugOverlayOptions MaxRasterPixels(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, long value)` [#](#method-maxrasterpixels-officeimo-pdf-pdflayoutdebugoverlayoptions-int64)

Sets [PdfLayoutDebugOverlayOptions.MaxRasterPixels](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Maximum number of pixels allocated when rasterizing one overlay.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value long required**

The value.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { MaxRasterPixels = value };    pdfLayoutDebugOverlayOptions.MaxRasterPixels(value);
```

`public static PdfLayoutDebugOverlayOptions RegionColor(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, OfficeColor value)` [#](#method-regioncolor-officeimo-pdf-pdflayoutdebugoverlayoptions-officeimo-officecolor)

Sets [PdfLayoutDebugOverlayOptions.RegionColor](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Paragraph-region color.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value OfficeIMO.OfficeColor required**

The value.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { RegionColor = value };    pdfLayoutDebugOverlayOptions.RegionColor(value);
```

`public static PdfLayoutDebugOverlayOptions ShowLines(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, bool value = true)` [#](#method-showlines-officeimo-pdf-pdflayoutdebugoverlayoptions-boolean)

Sets [PdfLayoutDebugOverlayOptions.ShowLines](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Draw boxes around inferred text lines.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { ShowLines = value };    pdfLayoutDebugOverlayOptions.ShowLines(value);
```

`public static PdfLayoutDebugOverlayOptions ShowReadingOrder(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, bool value = true)` [#](#method-showreadingorder-officeimo-pdf-pdflayoutdebugoverlayoptions-boolean)

Sets [PdfLayoutDebugOverlayOptions.ShowReadingOrder](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Draw reading-order numbers for lines.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { ShowReadingOrder = value };    pdfLayoutDebugOverlayOptions.ShowReadingOrder(value);
```

`public static PdfLayoutDebugOverlayOptions ShowRegions(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, bool value = true)` [#](#method-showregions-officeimo-pdf-pdflayoutdebugoverlayoptions-boolean)

Sets [PdfLayoutDebugOverlayOptions.ShowRegions](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Draw boxes around inferred paragraph regions.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { ShowRegions = value };    pdfLayoutDebugOverlayOptions.ShowRegions(value);
```

`public static PdfLayoutDebugOverlayOptions ShowWords(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, bool value = true)` [#](#method-showwords-officeimo-pdf-pdflayoutdebugoverlayoptions-boolean)

Sets [PdfLayoutDebugOverlayOptions.ShowWords](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Draw boxes around whitespace-delimited words.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { ShowWords = value };    pdfLayoutDebugOverlayOptions.ShowWords(value);
```

`public static PdfLayoutDebugOverlayOptions WordColor(PdfLayoutDebugOverlayOptions pdfLayoutDebugOverlayOptions, OfficeColor value)` [#](#method-wordcolor-officeimo-pdf-pdflayoutdebugoverlayoptions-officeimo-officecolor)

Sets [PdfLayoutDebugOverlayOptions.WordColor](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/): Word-box color.

Parameters

**pdfLayoutDebugOverlayOptions OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions required**

The instance.

**value OfficeIMO.OfficeColor required**

The value.

Returns

`PdfLayoutDebugOverlayOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfLayoutDebugOverlayOptions { WordColor = value };    pdfLayoutDebugOverlayOptions.WordColor(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:CBCF67C5C42CC5DA9894CC447A17FB3B8C330CCC4A2D206DF62FE1194AF217CC -->
