Table of Contents

Class PdfPageText

Namespace
PDiffy
Assembly
PDiffy.dll

Text on a page that no structure element holds: an artifact or untagged text. An artifact can say what kind it is, in Type (Pagination, Layout, Page or Background) and Subtype (such as Header or Footer).

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

Properties

Page

The page number, counted from 1.

public required int Page { get; init; }

Property Value

int

Subtype

The artifact's subtype, such as "Header", "Footer" or "Watermark"; null for untagged text and when it doesn't say. PdfArtifactSubtypes lists the standard ones.

public string? Subtype { get; init; }

Property Value

string

Text

The text, with runs of spaces, tabs and line breaks collapsed to one space, such as "Page 4 of 12".

public required string Text { get; init; }

Property Value

string

Type

The artifact's kind: "Pagination", "Layout", "Page" or "Background", as in PdfArtifactTypes; null for untagged text and when it doesn't say.

public string? Type { get; init; }

Property Value

string