PdfRoundTripResult Class
The result of PdfRoundTripValidator.Validate.
public sealed class PdfRoundTripResultProperties
| Name | Description |
|---|---|
| AreOutputsIdentical | Gets a value indicating whether the two outputs are byte-identical. |
| AreOutputsStructurallyEquivalent | Gets a value indicating whether the two outputs have the same pages and the same object graph. |
| ComparesBytes | Gets a value indicating whether the bytes of the outputs are compared: they are not for an encrypted document. |
| Failure | Gets the first failed check, or null when the round trip succeeded. |
| FirstOutput | Gets the first output: the document written. |
| FirstSummary | Gets the summary of the first output, or null when it cannot be read. |
| OriginalSummary | Gets the summary of the document validated. |
| SecondOutput | Gets the second output: the first output read and written again, or null when the validation stopped before. |
| SecondSummary | Gets the summary of the second output, or null when it was not written or cannot be read. |
| Succeeded | 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. |
AreOutputsIdentical
PdfRoundTripResult.csAreOutputsStructurallyEquivalent
PdfRoundTripResult.csComparesBytes
PdfRoundTripResult.csFailure
PdfRoundTripResult.csGets the first failed check, or null when the round trip succeeded.
public PdfRoundTripFailure? Failure { get; }Property value
FirstOutput
PdfRoundTripResult.csGets the first output: the document written.
public ReadOnlyMemory<byte> FirstOutput { get; }Property value
FirstSummary
PdfRoundTripResult.csGets the summary of the first output, or null when it cannot be read.
public PdfDocumentSummary? FirstSummary { get; }Property value
OriginalSummary
PdfRoundTripResult.csGets the summary of the document validated.
public PdfDocumentSummary OriginalSummary { get; }Property value
SecondOutput
PdfRoundTripResult.csGets the second output: the first output read and written again, or null when the validation stopped before.
public ReadOnlyMemory<byte>? SecondOutput { get; }Property value
SecondSummary
PdfRoundTripResult.csGets the summary of the second output, or null when it was not written or cannot be read.
public PdfDocumentSummary? SecondSummary { get; }