PdfLayoutOptions Class

The options of the extraction of the layout of pages (PdfPage.ExtractLayout, PdfDocument.ExtractLayout).

public sealed class PdfLayoutOptions

Constructors

NameDescription
PdfLayoutOptions()

PdfLayoutOptions()

PdfLayoutOptions.cs
public PdfLayoutOptions()

No documentation is available.

Properties

NameDescription
DefaultGets the default options.
DetectHeadersAndFootersGets a value indicating whether the text repeated at the same place at the top or the bottom of the pages is a header or a footer. The default is true. A single page has none.
DetectTablesGets a value indicating whether the grids of rules are tables (PdfTableExtractor). The default is true.
HeadingSizeRatioGets the ratio of the font size of the body text from which a block is a heading. The default is 1.15.

Gets the default options.

public static PdfLayoutOptions Default { get; }

Property value

PdfLayoutOptions

DetectHeadersAndFooters

PdfLayoutOptions.cs

Gets a value indicating whether the text repeated at the same place at the top or the bottom of the pages is a header or a footer. The default is true. A single page has none.

public bool DetectHeadersAndFooters { get; init; }

Property value

bool

Gets a value indicating whether the grids of rules are tables (PdfTableExtractor). The default is true.

public bool DetectTables { get; init; }

Property value

bool

HeadingSizeRatio

PdfLayoutOptions.cs

Gets the ratio of the font size of the body text from which a block is a heading. The default is 1.15.

public double HeadingSizeRatio { get; init; }

Property value

double