PdfRoundTripResult Class

public sealed class PdfRoundTripResult

Properties

NameDescription
AreOutputsIdenticalGets a value indicating whether the two outputs are byte-identical.
AreOutputsStructurallyEquivalentGets a value indicating whether the two outputs have the same pages and the same object graph.
ComparesBytesGets a value indicating whether the bytes of the outputs are compared: they are not for an encrypted document.
FailureGets the first failed check, or null when the round trip succeeded.
FirstOutputGets the first output: the document written.
FirstSummaryGets the summary of the first output, or null when it cannot be read.
OriginalSummaryGets the summary of the document validated.
SecondOutputGets the second output: the first output read and written again, or null when the validation stopped before.
SecondSummaryGets the summary of the second output, or null when it was not written or cannot be read.
SucceededGets a value indicating whether the round trip succeeded: the outputs keep the pages, have the same structure and, unless the document is encrypted, the same bytes.

AreOutputsIdentical

PdfRoundTripResult.cs

Gets a value indicating whether the two outputs are byte-identical.

public bool AreOutputsIdentical { get; }

Property value

bool

AreOutputsStructurallyEquivalent

PdfRoundTripResult.cs

Gets a value indicating whether the two outputs have the same pages and the same object graph.

public bool AreOutputsStructurallyEquivalent { get; }

Property value

bool

Gets a value indicating whether the bytes of the outputs are compared: they are not for an encrypted document.

public bool ComparesBytes { get; }

Property value

bool

Gets the first failed check, or null when the round trip succeeded.

public PdfRoundTripFailure? Failure { get; }

Property value

PdfRoundTripFailure?

Gets the first output: the document written.

public ReadOnlyMemory<byte> FirstOutput { get; }

Property value

ReadOnlyMemory<byte>

Gets the summary of the first output, or null when it cannot be read.

public PdfDocumentSummary? FirstSummary { get; }

Property value

PdfDocumentSummary?

OriginalSummary

PdfRoundTripResult.cs

Gets the summary of the document validated.

public PdfDocumentSummary OriginalSummary { get; }

Property value

PdfDocumentSummary

Gets the second output: the first output read and written again, or null when the validation stopped before.

public ReadOnlyMemory<byte>? SecondOutput { get; }

Property value

ReadOnlyMemory<byte>?

Gets the summary of the second output, or null when it was not written or cannot be read.

public PdfDocumentSummary? SecondSummary { get; }

Property value

PdfDocumentSummary?

Gets a value indicating whether the round trip succeeded: the outputs keep the pages, have the same structure and, unless the document is encrypted, the same bytes.

public bool Succeeded { get; }

Property value

bool