PdfAutoTagOptions Class

The options of PdfDocument.AutoTag.

public sealed class PdfAutoTagOptions

Constructors

NameDescription
PdfAutoTagOptions()

PdfAutoTagOptions()

PdfAutoTagOptions.cs
public PdfAutoTagOptions()

No documentation is available.

Properties

NameDescription
DefaultGets the default options.
FigureAlternateTextGets the function that gives the alternate description of an image, which screen readers read, or null for none: PDF/UA requires one.
FirstTableRowIsHeaderGets a value indicating whether the first row of a table of several rows is its header (TH cells). The default is true.
LanguageGets the natural language of the document (PdfDocument.Language), such as en-US, set when the document has none; null to leave it.
LayoutGets the options of the detection of the layout.

Gets the default options.

public static PdfAutoTagOptions Default { get; }

Property value

PdfAutoTagOptions

FigureAlternateText

PdfAutoTagOptions.cs

Gets the function that gives the alternate description of an image, which screen readers read, or null for none: PDF/UA requires one.

public Func<PdfImageOccurrence, string?>? FigureAlternateText { get; init; }

FirstTableRowIsHeader

PdfAutoTagOptions.cs

Gets a value indicating whether the first row of a table of several rows is its header (TH cells). The default is true.

public bool FirstTableRowIsHeader { get; init; }

Property value

bool

Gets the natural language of the document (PdfDocument.Language), such as en-US, set when the document has none; null to leave it.

public string? Language { get; init; }

Property value

string?

Gets the options of the detection of the layout.

public PdfLayoutOptions Layout { get; init; }

Property value

PdfLayoutOptions