PdfSanitizationResult Class

public sealed class PdfSanitizationResult

Properties

NameDescription
HasChangesGets a value indicating whether the file changed.
OutputGets the file: the original file followed by one incremental update with the repairs, or the original file itself when nothing was repaired.
RepairsGets the repairs made.

Gets a value indicating whether the file changed.

public bool HasChanges { get; }

Property value

bool

Gets the file: the original file followed by one incremental update with the repairs, or the original file itself when nothing was repaired.

public ReadOnlyMemory<byte> Output { get; }

Property value

ReadOnlyMemory<byte>

Gets the repairs made.

public IReadOnlyList<PdfSanitizerRepair> Repairs { get; }