Table of Contents

Class PdfPreflightFinding

Namespace
PdfEngine.Vector.PrintProduction
Assembly
PdfEngine.Vector.dll

A preflight result: the rule (its stable id, as PP-3.1), what was found and where. Messages carry measures, page numbers, object numbers and resource names (fonts, spot colorants); never text of the document's pages.

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

Constructors

PdfPreflightFinding(string, PdfPreflightSeverity, string)

A preflight result: the rule (its stable id, as PP-3.1), what was found and where. Messages carry measures, page numbers, object numbers and resource names (fonts, spot colorants); never text of the document's pages.

public PdfPreflightFinding(string RuleId, PdfPreflightSeverity Severity, string Message)

Parameters

RuleId string
Severity PdfPreflightSeverity
Message string

Properties

Bounds

Where on the page, in default user space (points, y up), when known.

public PdfRect? Bounds { get; init; }

Property Value

PdfRect?

Count

How many occurrences this finding stands for (more than one when they were summarised).

public int Count { get; init; }

Property Value

int

Location

public string? Location { get; }

Property Value

string

Measure

The measured value (ppi, percent, points), with Unit.

public double? Measure { get; init; }

Property Value

double?

Message

public string Message { get; init; }

Property Value

string

NormalizedBounds

Bounds as fractions of the unrotated crop box from its top-left corner (the convention the viewer's page overlays use).

public PdfRect? NormalizedBounds { get; init; }

Property Value

PdfRect?

ObjectNumber

The object the finding is about (an image XObject), when known.

public int? ObjectNumber { get; init; }

Property Value

int?

Page

The 1-based page, when the finding is on one.

public int? Page { get; init; }

Property Value

int?

RuleId

public string RuleId { get; init; }

Property Value

string

Severity

public PdfPreflightSeverity Severity { get; init; }

Property Value

PdfPreflightSeverity

Unit

public string? Unit { get; init; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.