# PdfLayoutDebugOverlayOptions

Controls the shared-Drawing layout diagnostics projected over one PDF page.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfLayoutDebugOverlayOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L14)

**Modifiers**

sealed

Controls the shared-Drawing layout diagnostics projected over one PDF page.

## Inheritance

- object
- PdfLayoutDebugOverlayOptions

## Usage

Explore 3 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 1

- Method [PdfLayoutDebugOverlayOptions.Clone](/api/pdf/officeimo-pdf-pdflayoutdebugoverlayoptions/#method-clone)

### Accepted by parameters 2

- Method [PdfDocumentRenderer.LayoutDebugOverlay](/api/pdf/officeimo-pdf-pdfdocumentrenderer/#method-layoutdebugoverlay-int32-officeimo-pdf-pdflayoutdebugoverlayoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions) parameter `options`
- Method [PdfDocumentRenderer.LayoutDebugOverlayPng](/api/pdf/officeimo-pdf-pdfdocumentrenderer/#method-layoutdebugoverlaypng-int32-double-officeimo-pdf-pdflayoutdebugoverlayoptions-officeimo-pdf-pdftextlayoutoptions-officeimo-pdf-pdfloadoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public PdfLayoutDebugOverlayOptions()` [#](#constructor-ctor)

[PdfLayoutDebugOverlayOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L14)

## Methods

`public PdfLayoutDebugOverlayOptions Clone()` [#](#method-clone)

[PdfLayoutDebugOverlayOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L8)

Creates an independent copy of these overlay settings.

Returns

`PdfLayoutDebugOverlayOptions`

## 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?`

## Properties

`public bool ShowWords { get; set; }` [#](#property-showwords)

[PdfLayoutDebugOverlayOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L14)

Draw boxes around whitespace-delimited words.

`public bool ShowLines { get; set; }` [#](#property-showlines)

[PdfLayoutDebugOverlayOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L17)

Draw boxes around inferred text lines.

`public bool ShowRegions { get; set; }` [#](#property-showregions)

[PdfLayoutDebugOverlayOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L20)

Draw boxes around inferred paragraph regions.

`public bool ShowReadingOrder { get; set; }` [#](#property-showreadingorder)

[PdfLayoutDebugOverlayOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L23)

Draw reading-order numbers for lines.

`public int MaxElements { get; set; }` [#](#property-maxelements)

[PdfLayoutDebugOverlayOptions.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L26)

Maximum boxes and labels added to one overlay.

`public long MaxRasterPixels { get; set; }` [#](#property-maxrasterpixels)

[PdfLayoutDebugOverlayOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L29)

Maximum number of pixels allocated when rasterizing one overlay.

`public OfficeColor WordColor { get; set; }` [#](#property-wordcolor)

[PdfLayoutDebugOverlayOptions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L32)

Word-box color.

`public OfficeColor LineColor { get; set; }` [#](#property-linecolor)

[PdfLayoutDebugOverlayOptions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L35)

Line-box color.

`public OfficeColor RegionColor { get; set; }` [#](#property-regioncolor)

[PdfLayoutDebugOverlayOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L38)

Paragraph-region color.

## Fields

`public const long DefaultMaxRasterPixels` [#](#field-defaultmaxrasterpixels)

[PdfLayoutDebugOverlayOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Interaction/PdfLayoutDebugOverlayOptions.cs#L11)

Default maximum number of pixels allocated by one PNG overlay.

Value: `64000000`

<!-- PowerForge markdown artifact sha256:602D4C0224B62FBCEC97D58948EAFFF3432162D15AFB9109752B229C7F5E0B0B -->
