Table of Contents

Class PdfMarkedSpan

Namespace
PDiffy
Assembly
PDiffy.dll

What marked content inside a structure element says about its own text: its language, replacement text, alt text or expansion, which a screen reader uses instead of the element's.

public sealed record PdfMarkedSpan : IEquatable<PdfMarkedSpan>
Inheritance
PdfMarkedSpan
Implements
Inherited Members

Properties

ActualText

Text a screen reader reads instead of the content, such as the words on a photo of a trail sign.

public string? ActualText { get; init; }

Property Value

string

AltText

Alt text that describes the content; null when it has none.

public string? AltText { get; init; }

Property Value

string

Expansion

The full form of an abbreviation, such as "Mount" for "Mt."; null when it has none.

public string? Expansion { get; init; }

Property Value

string

Language

The language of the text, such as "fr"; null when it doesn't set one.

public string? Language { get; init; }

Property Value

string

Text

The text the marked content covers, as it's drawn, such as "bonjour"; null when it covers no text, such as an image with alt text.

public string? Text { get; init; }

Property Value

string